S
S
slowking2012-03-28 20:22:40
Java
slowking, 2012-03-28 20:22:40

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

3 answer(s)
M
mayorovp, 2012-03-29
@mayorovp

$JAVA_HOME should be /usr/jdk1.7.0_03/jre
and /usr/jdk1.7.0_03 should be $JDK_HOME

S
slowking, 2012-03-29
@slowking

[email protected]:~$ which java
/usr/jdk1.7.0_03/bin/java
[email protected]:~$ echo $JAVA_HOME
/usr/jdk1.7.0_03

R
relgames, 2012-03-29
@relgames

Have you been banned from Google?
stackoverflow.com/questions/7827777/setting-up-eclipse-on-ubuntu
stackoverflow.com/questions/2030434/eclipse-no-java-jre-jdk-no-virtual-machine

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question