Pages

Tuesday, January 22, 2008

Eclipse Java debugging problem

To install proprietary Java, you must have the Multiverse repository enabled.

Ubuntu 7.04

  • Sun Java6: sun-java6-bin, sun-java6-jre

sudo apt-get install sun-java6-bin sun-java6-jre
Now you need to open Eclipse and specify that the default workspace JRE
should be SUNs JRE. Go to Window - Preferences - Java - Installed JREs
and click add to add SUN JRE.
The JRE home directory is: /usr/lib/jvm/java-6-sun

No comments: