问题描述
我昨天安装了Java 8 Update 71,现在我的Eclipse没有启动。 Windows仅在鼠标上显示一个短加载符号,就是它。之前我有Java 8 Update 66和一切正常。
I installed the Java 8 Update 71 yesterday and now my Eclipse did not start after that. Windows only shows a short loading symbol on the mouse and that was it. Before I had the Java 8 Update 66 and everything worked fine.
所以我试图打开它与 -clean
参数并设置路径变量。删除Eclipse和整个工作区
文件夹,但这没有解决问题。然后,我卸载了Windows软件面板中的java软件包,现在只剩下一个,就是 Java SE Development Kit 8 Update 66
。然后我尝试启动Eclipse,它的工作原理!但是我不明白为什么,因为路径变量设置为较新的J8u71 / bin
文件夹。
So I tried to open it with the -clean
parameter and set the path variable. Removed Eclipse and the whole workspace
folder, but this didn't solved the problem. Then I uninstalled the java package in the windows software panel and the only one what is left right now, is the Java SE Development Kit 8 Update 66
. Then I tried to start Eclipse and it works! But I don't understand why, because the Path Variable was set to the newer J8u71 /bin
folder.
现在我想知道,我应该再次尝试安装SDK 8u71还是不需要?因为Oracle说它修复了一些安全问题...
Now I am wondering, should I try to install the SDK 8u71 again or is this not needed? Since Oracle says it fix some security issues...
推荐答案
您可以重新安装 SDK 8u71
然后编辑您的 eclipse.ini
文件位于与可执行文件相同的文件夹。
You can re-install SDK 8u71
and then edit your eclipse.ini
file located in same folder as the executable.
将 -vm
参数的值更改为新Java版本的路径。
Change the value of the -vm
parameter to the path of the new Java version.
例如
-vm
C:/Program Files/Java/jre1.8.0_71/bin
这篇关于Eclipse Mars不会在Java 8 Update 71之后启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!