Eclipse找不到javaw.exe [英] Eclipse cannot find javaw.exe
问题描述
当我开始eclipse我得到这个问题:
When i start eclipse i get this problem:
我的电脑中的javaw.exe的位置是C:\Program Files\Java\jre7\bin。我尝试改变路径环境变量,然后我得到不同的错误,如:
The location of javaw.exe in my computer is C:\Program Files\Java\jre7\bin. I have tried change the path environment variable then i get different error like:
推荐答案
在JRE更新到jre1之后,还有这个Eclipse打开拒绝错误.8.0_111。
Also got this Eclipse open refusal bug now after the JRE was updated to jre1.8.0_111.
由于某种原因,它试图找到一个jre1.8.0_101 / bin / javaw.exe,而不是jre1.8.0_111 / bin / javaw。 exe文件。 。 。
For some reason it was trying to find a jre1.8.0_101/bin/javaw.exe instead of the jre1.8.0_111/bin/javaw.exe file . . .
解决方案是转到eclipse配置设置文件,然后更改
Solution was to go to the eclipse Configuration Settings file and then change
-vm
C:/Program Files/Java/jre1.8.0_101/bin/javaw.exe
到
-vm
C:/Program Files/Java/jre1.8.0_111/bin/javaw.exe
为什么虚拟机指向一个名为
Why was the virtual machine pointed at a file called
jre1.8.0_101/bin/javaw.exe
在首位?
搜索我,但我不知道!
这篇关于Eclipse找不到javaw.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!