I recently had some issues getting Eclipse to work properly on Jaunty, especially with plugins (m2e) not showing up in the preferences after installation. So I’m now doing it all over again…
Installation & First Setup
First of all download the Eclipse 3.5 JEE Distro and unpack it (in my case to /opt/eclipse3.5 with a symlink from /opt/eclipse).
~$ wget \
/downloads/release/galileo/R/eclipse-jee-galileo-linux-gtk.tar.gz
~$ sudo mv ~/eclipse-jee-galileo-linux-gtk.tar.gz /opt
~$ cd /opt
/opt$ sudo tar -zxf /opt/eclipse-jee-galileo-linux-gtk.tar.gz
/opt$ sudo mv /opt/eclipse /opt/eclipse3.5
/opt$ sudo ln -s /opt/eclipse3.5 /opt/eclipse
/opt$ sudo chown -R root:root /opt/eclipse3.5/
/opt$ sudo chmod -R +r /opt/eclipse3.5/
Make sure that ~/bin is included in your path and put the following into ~/bin/eclipse (adapt the values for memory to your needs) as eclipse.ini seems to be ignored in Ubuntu:
#!/bin/bash
export ECLIPSE_HOME="/opt/eclipse"
`$ECLIPSE_HOME/eclipse -showlocation -vmargs -Xms126M -Xmx512M -XX:PermSize=128M\
-XX:MaxPermSize=512M &> /dev/null` &
Make sure, that the right executable is being used.
~$ which eclipse
/home//bin/eclipse
Plugin setup
On my last try to get things right, Eclipse ended up creating a folder ~/.eclipse/ with another folder in it that contained the folders /plugins, /dropins, /configuration etc. Everything that makes up the original Eclipse folder is there as well.
So when I started to download and install further plugins like the already mentioned ,
Eclipse would download the plugins to this Eclipse folder in my
home-directory and they would not be listed in the Eclipse-Preferences.
But, oddly enough, the m2e plugin would be listed in Help > About Eclipse > Installation Details > Installed Software.
Now, lets have another look. First we install the plugin from the . I got an error here saying something about missing dependencies for the POM Editor plugins (org.eclipse.zest_layout) and resolved by manually adding the to Eclipse. It seems, that only after I added the Eclipse update-site, closed and restarted the Update Manager, Eclipse would add all the official update-sites to its list and resolve dependencies on them. I decided to resolve this later.
So after installing the m2e plugin, I double checked the configuration. It appears in Installed Software AND the Plug-In list, which it didn’t the first time. So far so good. Now for this previous error. As the Update Manager seems to have found more update-sites now, the dependencies for the POM Editor get resolved automatically. But, what is that??? After installing the Editor, the m2e plugins are gone from the Plug-In list (Help > About Eclipse > Installation Details > Plugin-ins. Where did they go?!? Even after uninstalling the editor plugins, nothing came up in the plugin list.
Does anyone have a hint?