I run this command:

$ sudo ./update-java-alternatives -s java-6-sun

but had to do this manually:

$ sudo vi /etc/jvm (and add the following line to the top of the list)
/usr/lib/jvm/java-6-sun

$ sudo vi /ect/eclipse/java_home (and add the following line to the top of the 
list)
/usr/lib/jvm/java-6-sun

Please make sure that update-java-alternatives takes care of this (and
that installing eclipse after running update-java-alternatives also uses
the correct values in /etc/eclipse/java_home).

-- 
Eclipse uses /etc/eclipse/java_home instead of java-common scripts
https://bugs.launchpad.net/bugs/45347
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to