Eclipse启动出现:a java runtime environment(JRE) or java development kit(JDK) must be....

转于大神:https://blog.c

之前启动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  (eclipse 安装路径    右键eclipse图标就可得到) 下将jre1.8.0_65重命名为jre,点击eclipse启动就OK了。

 

 

你可能感兴趣的:(上班,问题解决)