Re: Why is /usr/lib/jvm/java-6-sun/sun-java6-6-12/jdk1.6.0_12 not recognized in update-alternatives?
On Sat, 14 Aug 2010 13:45:31 +0200, Merciadri Luca wrote:
(...)
> Really nice, but Eclipse seems not to like it that much:
>
> ==
> A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be
> available in order to run Eclipse. No Java virtual machine was found
> after searching the following locations:
> /home/merciadriluca/eclipse/jre/bin/java java in your current PATH
> ==
>
> Why?
It clearly states that Eclipse is looking for the java bin into the wrong
place: "/home/merciadriluca/eclipse/jre/bin/java"
Two ideas on how to by-pass this:
1/ If Eclipse has an option to edit the path to the avilable JRE, just
change it from there, or just by manually editing "/etc/eclipse/
java_home".
2/ Make a symbolic link (ln -s) from your home's Eclipse java path
pointing to the current (system-wide) java path.
Greetings,
--
Camaleón
Reply to: