eclipse报错 :java was started but returned exit code=13

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了eclipse报错 :java was started but returned exit code=13相关的知识,希望对你有一定的参考价值。

一个礼拜没打开自己电脑上的eclipse,一打开居然报错,错误提示如下:

技术分享

cdm运行一下Java -version和javac 运行javac时报错,错误提示如下:

技术分享

然后发现jdk的bin下没有dt.jar和tools.jar,原来在安装jdk和jre时,先安装的jdk,再安装jre,jre可能会把jdk里的东西覆盖造成文件丢失,再安装一遍jdk,jre就正常了。

技术分享

但是启动eclipse还是报那个错,查看jdk,jre都是64位,通过查看eclipse.ini,看--launcher.library下面这一行,如果win32.win32.x86则表示是32位,如果是win32.win32.x86_64则表示是64位的,这说明我的eclipse版本和jdk没冲突。

技术分享

为了解决这个问题,嗯,我重装了eclipse,哈哈哈哈哈哈哈,就好了~~~~~~~

以上是关于eclipse报错 :java was started but returned exit code=13的主要内容,如果未能解决你的问题,请参考以下文章

Java was started but returned exit code=13

eclipse启动不了,出现“Java was started but returned exit code=13......”对话框

eclipse启动“java was started but returned exit code = 1”问题

eclipse启动不了,出现“Java was started but returned exit code=13......”对话框

java was started but returned exit code =13

java was started but returned exit code =-1