When using the Eclipse platform on Linux it is possible for it to select the gjt Java runtime instead of the Sun Java runtime. Some things will work, but other (important) things may not. I recommend (this is for Ubuntu):
- Make sure you have Sun's jdk installed (I'm using the sun-java6-jdk package).
- Do a
sudo update-alternatives --config javaand make sure you have Sun's version of Java selected as your default. - Add a
-vm /usr/bin/javastartup parameter to Eclipse
