Answer the question
In order to leave comments, you need to log in
No Java virtual machine was found
Why does the error
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:
/opt/eclipse/jre/bin/java
java in
your
current PATH
PS JDK installed
Answer the question
In order to leave comments, you need to log in
$JAVA_HOME should be /usr/jdk1.7.0_03/jre
and /usr/jdk1.7.0_03 should be $JDK_HOME
[email protected]:~$ which java
/usr/jdk1.7.0_03/bin/java
[email protected]:~$ echo $JAVA_HOME
/usr/jdk1.7.0_03
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question