Java 更新后 Eclipse 无法启动
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/26952674/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Eclipse won't start after Java update
提问by Brett Fisher
I updated Java and now Eclipse won't start, it says Java was started but returned exit code = 13. Eclipse was working just fine until this update. Does anyone know what to do?
我更新了 Java,现在 Eclipse 无法启动,它说 Java 已启动但返回退出代码 = 13。在此更新之前,Eclipse 运行良好。有谁知道该怎么做?
采纳答案by stickler
you may have downloaded the incorrect version for you computer? as in a 64 bit/ 32 bit conflict.
您可能为您的计算机下载了不正确的版本?就像在 64 位/ 32 位冲突中一样。
I found a similar problem to yours on another stackoverflow thread.
我在另一个 stackoverflow 线程上发现了与您类似的问题。
Can't start Eclipse - Java was started but returned exit code=13
回答by Bla Bla
You can fix it by changing the directory of line "vm" in eclipse.ini
to the version you have just installed.
Ex: I just updated my java to java 8 update 131 to java8 update 144
C:/Program Files/Java/jre1.8.0_131/bin
您可以通过将“vm”行的目录更改为eclipse.ini
您刚刚安装的版本来修复它。例如:我刚刚将我的 java 更新为 java 8 update 131 到 java8 update 144
C:/Program Files/Java/jre1.8.0_131/bin
Change it to:
C:/Program Files/Java/jre1.8.0_144/bin
将其更改为:
C:/Program Files/Java/jre1.8.0_144/bin
Note: On Windows, you can check your java in C:/Program Files/Java
or C:/Program Files(x86)/Java
depending on 64 or 32 bit installation.
注:在Windows上,你可以检查你的javaC:/Program Files/Java
或C:/Program Files(x86)/Java
根据64位或32位的安装。
回答by asma
re-install java jdk to solve the problem
重新安装java jdk解决问题