Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error :- java runtime environment JRE or java development kit must be available in order to run eclipse

Tags:

java

eclipse

I tried to run "eclipse-jee-juno-win32-x86_64" , but it raised the following error " java runtime environment JRE or java development kit must be available in order to run eclipse. No java virtual machine was found after searching in the folloiwng location ........ ".

Baring in mind that i have both java jre7 and Java jdk1.7.0_06 installed at C:\Program Files\Java.

The other strange thing also that Eclipse used to run without any problems yesterday , but today i have downloaded the JDK 1.7.0_06 and i set the JAVA_HOME to be "C:\Program Files\Java\jdk1.7.0_06"so i don't know if the problem is related to this ???.

So what might be the problem in running Eclipse? BR

like image 943
John John Avatar asked Aug 26 '12 09:08

John John


People also ask

How do I fix error a JRE or JDK must be available in order to run Eclipse Mac?

Add the -vm flag to fix the Eclipse JRE or JVM must be available error. And that's it. Make the change, save the file, and then re-run the Eclipse installer. The Eclipse “No Java virtual machine was found” error will go away, and the Eclipse IDE will be successfully installed on your desktop.

Is JRE required for Eclipse?

Eclipse is a Java-based application and, as such, requires a Java Runtime Environment or Java Development Kit (JRE or JDK) in order to run. Note that on recent versions of Mac, a full JDK needs to be installed, not just a JRE; see instructions below.


1 Answers

Check the eclipse.ini file and make sure there is no -vm option there that is pointing to a non existing java install now. You can delete the option to let Eclipse figure out what java install to use or change it so it's pointing to the new install.

like image 106
Strelok Avatar answered Sep 28 '22 06:09

Strelok