clipse打开时出错报 A java runtime Environment(JRE) or java D
程序员文章站
2022-07-03 07:58:10
...
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:D:\Program Files\eclipse\jre\bin\javaw.exe javaw.exe
错误就出在jdk的路径不在d盘,而在c盘,
找到eclipse安装目录里的eclipse.ini文件,修改-vm下的jdk路径
C:/Program Files/Java/jdk1.6.0_10/bin/javaw.exe
找到eclipse安装目录里的eclipse.ini文件,修改-vm下的jdk路径
C:/Program Files/Java/jdk1.6.0_10/bin/javaw.exe
/////////////////////////////////////////
之前启动eclipse都是好的,今天启动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 following locations:D:\adt-bundle-windows-x86_64-20140702\eclipse\jre\bin\javaw.exe javaw.exe 。
将安装jdk路径下的C:\Program Files\Java\jre1.8.0_65文件夹直接拷贝到D:\adt-bundle-windows-x86_64-20140702\eclipse下将jre1.8.0_65重命名为jre,点击eclipse启动就OK了。
转自:http://blog.csdn.net/u011045727/article/details/53534946