javaeclipsejvmhelios

No Java Virtual machine was found error in Eclipse HELIOS\jre\bin\javaw.exe


Got the below Error messages when i try to open the 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 follwing locations: C:\ECLIPSE\HELIOS\jre\bin\javaw.exe javaw.exe in your current PATH"

i have modified the eclipse.ini (C:\ECLIPSE\HELIOS) by adding the below lines,

-vm 
C:\Program Files (x86)\Java\jre7\bin\javaw.exe

After that change, i'm able to access the Eclipse. but most of my colleague and web suggested the below different options.

-vm
C:\Program Files (x86)\Java\jdk1.5.0_22\jre\bin\javaw.exe

and

-vm
C:\Program Files (x86)\Java\jdk1.5.0_22\bin\javaw.exe

Please help me with this. which one is correct option for this error.?


Solution

  • In your eclipse.ini file make sure you are pointing -vm to your jdk installation.You have already did but refer below for more detail Here