Eclipse crashes at startup; Exit code=13

巧了我就是萌 提交于 2019-11-27 02:14:54
Xitcod13

It turns out that a directory had an ! in its name and eclipse had a problem with that.

Once I switched the directory (from Desktop which is located in the user directory which had ! in it to C:/ ) everything worked fine. (look at the Djava.class.path in the image located in my the question above for the whole path - it should make it clear what the problem was)

Vista allows you to create a username that contains ! character and then a lot of programs have issues with it

Update

If somebody is still getting this problem even though their path is ok I suggest

  • trying to look at the Environment Variables
  • then try uninstalling the Helios EE ( or any other version of ee you are running ) and JDK and then reinstalling the 86x versions of both (they should still work on the 64x platform).
  • for further explanation look here

Thank you everybody that tried to help

Please, check that your have downloaded the x64 version. ;)

And your installed Java, is x86. Use Eclipse x86 if you use Java x86.

Quy Tang

Because your eclipse's env-arch was not matched with java-arch, for instance: eclipse-64bit run in java-32bit or vice versa.

In Windows: Set correct env path to the specific 32 or 64bit java acording to eclipse.

In Linux: Try run: [path-to-eclipse]/eclipse -vm [jdk-path]/bin

What version of java is on your path when you start eclipse? Try entering java -version on a command prompt. You will want Sun java 1.5 or higher. See http://www.ehow.com/how_4784069_terminated-exit-code-error-eclipse.html

This turned out to be a permissions error for me. I change the kepler folder, eclipse root directory to have permissions set to everyone all. This is going to be a security risk so I will need to set the permissions to be program specific. using procmon.exe I found that javaw.exe was getting write permissions denied. The programmers of eclipse and javaw.exe did not give those programs elevated permissions to run as trustedinstaller.

I faced the same problem

Turned out my Java version in the PATH had been updated to 1.8

Once I changed this back to 1.7, my Eclipse started without issues

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