Error using Eclipse, Needs JRE or JDK

Asked By 1240 points N/A Posted on -
qa-featured

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.

SHARE
Best Answer by miimoo
Best Answer
Best Answer
Answered By 0 points N/A #125061

Error using Eclipse, Needs JRE or JDK

qa-featured

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.
Answered By 5 points N/A #125062

Error using Eclipse, Needs JRE or JDK

qa-featured

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;

Launch first the Eclipse before you register the JDK

Related Questions