Eclipse在启动时崩溃;退出代码= 13 [英] Eclipse crashes at startup; Exit code=13

查看:204
本文介绍了Eclipse在启动时崩溃;退出代码= 13的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的x64机器上使用Eclipse Helios(我很确定现在这个问题可能会发生在任何eclipse),但它不合作。

当我尝试运行eclipse时,我得到以下内容:



我已经安装了




  • Helios EE x64(最新版本)

  • JDK 1.6.025(x64)



我已经正确连接了我的环境变量,尝试通过 cmd 编译Java文件并成功。



每当我尝试运行eclipse,我得到 exit code = 13(required java version = 1.5)



我尝试在cmd中运行以下命令:
-vmmypath\jdk1.6.025\jre\ bin
命令作为论坛建议



以及其他路径
-vm mypath\jdk1.6.025\bin
-vmmypath\jdk1.6.025\jre\bin\javaw.exe code>
甚至
-vmmypath\jre6\bin out of desperation
to no avail。 / p>




我都是出于想法,我想知道有没有人有这个问题。我甚至下载了helios x86版本和x86 JDK版本,但它没有解决问题。 (我更改了环境变量)
我改变了一切,但我被卡住了...



相关问题: 无法运行Eclipse

解决方案

事实证明,目录在其名称中有一个,eclipse有一个问题。 >

一旦将目录(从位于用户目录中的Desktop(其中)切换到C:/)一切都很好。 (看看Djava.class.path中的图像位于我上面的问题的整个路径 - 它应该清楚问题是什么)



Vista允许您创建一个包含字符的用户名,然后很多程序出现问题。



更新



如果有人仍然遇到这个问题,即使他们的路径确定我建议



    尝试查看环境变量
  • 然后尝试卸载Helios EE(或任何其他版本的ee)和JDK,然后重新安装86x版本(他们应该仍然在64x平台上工作)。

  • 进一步解释,看看这里



感谢大家试图帮助的人>

I am trying to work with Eclipse Helios on my x64 machine (Im pretty sure now that this problem could occur with any eclipse) but it just doesn't cooperate.
When I try to run eclipse I get the following:

I have installed

  • Helios EE x64 (latest version)
  • JDK 1.6.025 (x64)

I have linked my Environment Variables up correctly and tried to compile a Java file through cmd and have succeeded.

Whenever I tried running eclipse i get exit code=13 (required java version=1.5)

I tried running the following in cmd: -vm "mypath\jdk1.6.025\jre\bin" command as forums suggested

as well as other paths -vm "mypath\jdk1.6.025\bin" -vm "mypath\jdk1.6.025\jre\bin\javaw.exe" even -vm "mypath\jre6\bin" out of desperation to no avail.


I am all out of ideas and I wonder if anybody had this problem. I even downloaded the helios x86 version and x86 JDK version yet it did not fix the problem. (I changed the environment variables) I changed everything back but I'm stuck...

Related Question: Cannot Run Eclipse

解决方案

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

这篇关于Eclipse在启动时崩溃;退出代码= 13的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆