首页 > 代码库 > eclipse启动不了,出现“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=13......”对话框如下

技术分享


解决方案:1.使用的是java jdk64位,修改成为jdk1.6版本设置环境变量分别为:

JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_26

Path中添加%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin

2.打开eclipse.ini文件,在第三行添加如下命令:

-vm
C:\Program Files (x86)\Java\jdk1.6.0_26\bin\javaw.exe

完成如上两步,重启eclipse即可

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