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:ECLIPSEHELIOSjrebinjavaw.exe javaw.exe in your current PATH"

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

-vm 
C:Program Files (x86)Javajre7binjavaw.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)Javajdk1.5.0_22jrebinjavaw.exe

and

-vm
C:Program Files (x86)Javajdk1.5.0_22binjavaw.exe

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


在你的eclipse.ini文件中,确保你将-vm指向你的jdk安装。你已经做了,但是请参考下面的更多细节。

链接地址: http://www.djcxy.com/p/91014.html

上一篇: adt eclipse错误发现路径到jre

下一篇: Eclipse HELIOS \ jre \ bin \ javaw.exe中没有发现Java虚拟机错误