Asked By
ballynolst
1240 points
N/A
Posted on - 07/11/2011
Hi, I am using eclipse at work, I meet an error I posted below for complete understanding on the error message I encountered.
Â
Eclipse
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;
C:eclipsejrebinjavaw.exe
‘javaw.exe’in your current PATH
As I understand on this issue, it is pointing to an error installation on, Java Runtime Environment (JRE) or Java Development kit (JDK), when I checked on my installations, all the mentioned software are present on my system, what I did to clear the issue, I remove the software and install it again, I even borrowed another installer to be sure it will work, but same error appeared on my screen when I use eclipse, please share some ideas in solving the issue, Thanks in advance.
Answered By
miimoo
0 points
N/A
#125061
Error using Eclipse, Needs JRE or JDK
Hi, dear,
I met with the same problem as yours when I were installing Eclipse, and I hope the steps I have offered below can help you to some degree. Hope you have a good day.
-
Firstly, you should install Java virtual machine. If you have installed the Java virtual machine, it is the path that you have wrongly set. Press the right key upon "my computer"—attribute—-advanced——environment variable, then set the value in the Path. For example:d:program filesjavajdk1.6.0_02bin; JAVA_HOME can be chose which can not be set. At the same time, you should set the ClassPath as well, then run the Eclipse again, finally you find you can use your Eclipse.
Error using Eclipse, Needs JRE or JDK
The error means that the Eclipse is trying to launch with java.exe as default which is the reference for your PATH. Always remember that you should run Eclipse with the latest JRE; you can refer the exact JRE path to your eclipse.ini and also for case for no path to update just copy JRE to your /jre directory. Launch first the Eclipse before you register the JDK. l For better and for more operation I recommend the JVM.Â
Have this image as your guide;