Eclipse/Java integration not working after Ubuntu 12.04 upgrade

I upgraded to Ubuntu 12.04 this morning. After the upgrade I fired up Eclipse and noticed that it was lacking Java integration: Java Perspectives were gone, the option to create a new Java project was missing, the menu item to build existing Java projects was grayed out, etc. Everything was working fine before upgrading.

:~$ echo $JAVA_HOME
/usr/lib/jvm/default-java

:~$ which java
/usr/bin/java

If I can provide any additional helpful info, please let me know. I'm still relatively new to the Linux/Java world, so thanks in advance for the help.


Solution 1:

Eclipse is extremely "version sensitive" platform ecosystem.

I've been using eclipse for 9 years, since the 2.x era. Almost every plugin I've used, had to be installed with an exact version of its dependencies, any slight variation and the result was an unstable IDE all over.

If you are going to be programming in JEE, I strongly recommend to use the downloaded one from Eclipse's site, whenever possible install plugins through eclipse's update facility. You'll live longer, and happier :)

I'm a JEE developer for the past 6 years, and every time I tried to use Eclipse from repository, the result was awful, too much instability, and many plugins did not worked as expected (Jboss Tools for instance).

I've had some problems recently, running JBossWS, with 3.7.x versions, it often crashed on 64Bit, Mint 12(Ubuntu 11.10), so I decided to downgrade to Eclipse 3.6.