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.?