Eclipse无法在Java Update 8之后启动

时间:2023-01-18 23:39:29

After installing the recent Java update, I get error code 13 along with some extra text:

安装最近的Java更新后,我得到错误代码13以及一些额外的文本:

Eclipse无法在Java Update 8之后启动

I did not have this issue with any other Java update but the recent Java 8 update. I have tried downloading the most recent version of Eclipse Luna, which is supposed to have support for Java 8, but no luck. Is anyone else having this issue? If not, can someone help me decipher this to figure out the problem?

我没有任何其他Java更新的问题,但最近的Java 8更新。我已经尝试下载最新版本的Eclipse Luna,它应该支持Java 8,但没有运气。还有其他人有这个问题吗?如果没有,有人可以帮我解读这个来解决问题吗?

4 个解决方案

#1


1  

You appear to be attempting to use a 32-bit JRE on a 64-bit system. That's possible, but you have a 64-bit version of eclipse (you can't do that). Download a 64-bit version of the JRE.

您似乎试图在64位系统上使用32位JRE。这是可能的,但你有一个64位版本的eclipse(你不能这样做)。下载64位版本的JRE。

#2


0  

It seems that your eclipse.ini is messed up. From the message: the vm option and its value is on the same line. The value should be on the line below (this is the issue that I had earlier):

看来你的eclipse.ini搞砸了。从消息:vm选项及其值在同一行。该值应该在下面的行上(这是我之前遇到的问题):

The -vm option and its value (the path) must be on separate lines.

A google search brought me to this:

谷歌搜索带我到这个:

Cannot run Eclipse; JVM terminated. Exit code=13

无法运行Eclipse; JVM终止了。退出代码= 13

EDIT 1: The same link also talks about misconfiguring a 64 bit JVM on a 32 bit eclipse. That could also be an issue.

编辑1:同样的链接还谈到在32位日食上错误配置64位JVM。这也可能是一个问题。

#3


0  

Really easy fix for me: in eclipse/eclipse.ini, I changed the line:

真的很容易修复我:在eclipse / eclipse.ini中,我更改了这一行:

-vm
C:/Program Files/Java/jre1.8.0_151/bin

to the new JRE directory name:

到新的JRE目录名称:

-vm
C:/Program Files/Java/jre1.8.0_161/bin

which I found in C:\Program Files\Java. So it was basically changing a 5 to a 6. The problem was that the Java update changed the directory name for the JRE, so the eclipse.ini file was pointing to the wrong directory name.

我在C:\ Program Files \ Java中找到了它。因此它基本上将5改为6.问题是Java更新改变了JRE的目录名,因此eclipse.ini文件指向错误的目录名。

#4


-2  

Did you install the new java8 software with the Eclipse? I mean you go to help/install new software/ add. give your file localtion where the java is present in archive. I guess it should work try it out.

你是否用Eclipse安装了新的java8软件?我的意思是你去帮助/安装新的软件/添加。在归档中存在java的位置给出文件本地化。我想它应该可以试试看。

#1


1  

You appear to be attempting to use a 32-bit JRE on a 64-bit system. That's possible, but you have a 64-bit version of eclipse (you can't do that). Download a 64-bit version of the JRE.

您似乎试图在64位系统上使用32位JRE。这是可能的,但你有一个64位版本的eclipse(你不能这样做)。下载64位版本的JRE。

#2


0  

It seems that your eclipse.ini is messed up. From the message: the vm option and its value is on the same line. The value should be on the line below (this is the issue that I had earlier):

看来你的eclipse.ini搞砸了。从消息:vm选项及其值在同一行。该值应该在下面的行上(这是我之前遇到的问题):

The -vm option and its value (the path) must be on separate lines.

A google search brought me to this:

谷歌搜索带我到这个:

Cannot run Eclipse; JVM terminated. Exit code=13

无法运行Eclipse; JVM终止了。退出代码= 13

EDIT 1: The same link also talks about misconfiguring a 64 bit JVM on a 32 bit eclipse. That could also be an issue.

编辑1:同样的链接还谈到在32位日食上错误配置64位JVM。这也可能是一个问题。

#3


0  

Really easy fix for me: in eclipse/eclipse.ini, I changed the line:

真的很容易修复我:在eclipse / eclipse.ini中,我更改了这一行:

-vm
C:/Program Files/Java/jre1.8.0_151/bin

to the new JRE directory name:

到新的JRE目录名称:

-vm
C:/Program Files/Java/jre1.8.0_161/bin

which I found in C:\Program Files\Java. So it was basically changing a 5 to a 6. The problem was that the Java update changed the directory name for the JRE, so the eclipse.ini file was pointing to the wrong directory name.

我在C:\ Program Files \ Java中找到了它。因此它基本上将5改为6.问题是Java更新改变了JRE的目录名,因此eclipse.ini文件指向错误的目录名。

#4


-2  

Did you install the new java8 software with the Eclipse? I mean you go to help/install new software/ add. give your file localtion where the java is present in archive. I guess it should work try it out.

你是否用Eclipse安装了新的java8软件?我的意思是你去帮助/安装新的软件/添加。在归档中存在java的位置给出文件本地化。我想它应该可以试试看。