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):

  1. Make sure you have Sun's jdk installed (I'm using the sun-java6-jdk package).
  2. Do a sudo update-alternatives --config java and make sure you have Sun's version of Java selected as your default.
  3. Add a -vm /usr/bin/java startup parameter to Eclipse


Page last modified on April 30, 2007, at 09:44 AM