5

Environment:

  • Eclipse Mars
  • Linux v.?
  • Java jdk v.?
  • Wildfly v.?

I installed JBOSS tools from market place, the only version listed was JBoss tools 4.3.0 Beta and I installed it.

I restarted the eclipse. When I tried to add runtime environment in the view I could only see the servers related to Apache, Basic and Object Web but no servers related to either JBoss/Wildfly community are listed.

But the same steps worked in Windows' Eclipse Mars.

In Linux, I even tried 'Download additional server adapters' link in eclipse which gave options for many servers like Websphere, Oracle web logic but no options for JBoss/Wildfly.

How to solve this?

Joe
  • 7,749
  • 19
  • 60
  • 110
pinkpanther
  • 4,770
  • 2
  • 38
  • 62

2 Answers2

6

That's because the JBoss tools in Mars requires Java 8.

Run the eclipse using Java 8 and it will work. You can change eclipse.ini

In Linux

-vm
/your_jdk_home/bin/java

In Windows

-vm
/your_jdk_home/bin/javaw.exe

Remember,

-vm argument should not come after -vmargs.

pinkpanther
  • 4,770
  • 2
  • 38
  • 62
  • I am having the same problem. I have started eclipse using oracle jdk 8 but jboss tools is still not showing – sashok_bg Mar 20 '16 at 15:55
  • @sashok_bg have you fixed it? I'm still facing the same problem. – Airton Gessner Dec 22 '16 at 12:08
  • @AirtonGessner did you try to run your eclipse with Java 8? – pinkpanther Dec 22 '16 at 16:02
  • @AirtonGessner I know it's a "no solution" solution but I just went and bought IntelliJ.. never looked back – sashok_bg Dec 22 '16 at 16:10
  • 2
    @pinkpanther yep. But I solved it by changing from Eclipse Neon to Mars. I'm still kinda noob in eclipse so I migth have done something wrong. – Airton Gessner Dec 22 '16 at 16:11
  • 1
    @AirtonGessner that could be because of Eclipse compatibility "JBoss Tools is now targeting Eclipse Mars.1 as a running platform." see http://tools.jboss.org/documentation/whatsnew/jbosstools/4.3.0.Final.html#eclipse-compatibility – pinkpanther Dec 22 '16 at 17:51
1

I had the problem and I solved it.

  • First go to Help-Eclipse Marketplace. There in the search option
  • Type JBoss Tools. Then the jsboos tools appear
  • Install it and it will ask to restart the eclipse
  • Restart Eclipse
  • Go to the add server option. There you can see as shown in the picture below enter image description here
  • Click on JBoss AS, wildfly& EAP server tools and click next. Tt will install the server configuration and then if it asks to restart eclipse after installing, do restart
  • After restart go to add server. In the list at JBoos community, you can see the wildfly server installed

Please do commented here if any queries.

Dejv
  • 944
  • 2
  • 14
  • 31
JOS
  • 11
  • 2