I downloaded Eclipse Juno and I am trying to run it for the first time. System is Win 7 Home Premium and I also downloaded JDK. I am getting the following 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: C:\Program Files\eclipse\jre\bin\javaw.exe javaw.exe in your current PATH
The javaw.exe file it needs is in...
C:\Program Files\Java\jre7\bin\javaw.exe
How do I fix this problem? Thanks in advance
" 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:\Program Files\eclipse\jre\bin\javaw.exe javaw.exe in your current PATH "
You need to install Java JDK: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
and then edit your path location:
Right-click on computer->properties->advanced system settings->advanced->environment variables:

Add C:\Program Files\Java\<JDK version>\bin to your PATH variable.
Also add JAVA_HOME as a system variable. I have my JAVA_HOME set to C:\Program Files\Java\jdk1.7.0_03.
When you are done, start cmd, type java, and hit enter. If you get an error that it can not be found then java is not correctly installed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With