|Eclipse does not found JDK (again, I know) [message #964409]
||Tue, 30 October 2012 09:45
| Leo DP
Registered: October 2012
I have tried everything I have found on the net but I am not able to run Eclipse. What is the problem?
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:\SW\ANDROID\eclipse-jee-juno-SR1-win32\eclipse\jre\bin\javaw.exe javaw.exe in your current PATH
64bit, Windows 7, latest updates installed (as of 30th Oct 2012)
Eclipse versions tried:
Eclipse Classic 4.2.1 and Eclipse IDE for Java EE Developers.
Java versions tried:
jdk-7u9-windows java_ee_sdk-6u4-jdk7-windows jdk-6u37-windows jdk-7u9-windows
1) installed both Eclipse and Java for 64bit or for 32bit, removing the previous installation with the Win7 Control Panel SW management tool (what's its name)
2) rebooted the PC after installing Java, before running Eclipse
3) added to PATH the path of jdk or of jre (including the bin directory)
4) edited eclipse.ini adding -vm and the path to java.exe or javaw.exe
5) renamed java.exe to java2.exe
6) probably something else
|Re: Eclipse does not found JDK (again, I know) [message #965819 is a reply to message #965437]
||Wed, 31 October 2012 10:24
| Russell Bateman
Registered: July 2009
Location: Provo, Utah, USA
On 10/31/2012 2:24 AM, Leo DP wrote:|
> Thanks Russel, that did not help, I was already following that guide.
> However, now I could get it.
> The thing that worked was running at the command line (inside eclipse
> eclipse -vm "C:\Java\jdk1.7.0_09\bin\javaw.exe"
> the same -vm argument inside eclipse.ini does not seem to be accepted,
> even if I add the jdk path to PATH or as a new environment variable
> below I paste my eclipse.ini and I write the last tests I have which did
> not help, just for documentation.
I'm glad you're up and running. Did you separate the path and the -vm
option across two lines? If not it would be ignored:
I'm pretty sure Eclipse doesn't care about JAVA_PATH, JAVA_HOME, etc. or
Best of luck to you.
Powered by FUDForum
. Page generated in 0.01678 seconds