java was started but returned exit code

本秂侑毒 提交于 2019-12-03 14:55:51

You're trying to run a 64-bit Eclipse with a 32-bit Java Runtime. They have to match.

If you have recently updated your java then please uninstall that update. It worked in my case. Hope it will help.

first of all remove line in eclipse.ini:

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

then

right click::my computer

select: properties

click on : advanced system setting

click on: environments variable

select: path

click: edit

copy on : your java(jdk) path eg.[C:\Program Files\Java\jdk1.7.0\bin]

paste on edit user variable dialog box: eg. [;C:\Program Files\Java\jdk1.7.0\bin.;]

ok/apply

then start ur eclipse and enjoy..........

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!