简体   繁体   English

Java更新后Eclipse将无法启动

[英]Eclipse won't start after Java update

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. 我更新了Java,现在Eclipse无法启动,它说Java已经启动但返回了退出代码= 13.Eclipse正常工作直到此更新。 Does anyone know what to do? 有谁知道该怎么办?

You can fix it by changing the directory of line "vm" in eclipse.ini to the version you have just installed. 您可以通过将eclipse.ini “vm”行的目录更改为刚刚安装的版本来修复它。 Ex: I just updated my java to java 8 update 131 to java8 update 144 C:/Program Files/Java/jre1.8.0_131/bin 例如:我刚刚将我的java更新为java 8 update 131 to 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上,您可以在C:/Program Files/JavaC:/Program Files(x86)/Java具体取决于64或32位安装。

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 无法启动Eclipse - Java已启动但​​返回退出代码= 13

重新安装java jdk来解决问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM