无法运行Eclipse; JVM终止退出代码= 13 [英] Cannot run Eclipse; JVM terminated. Exit code=13

查看:202
本文介绍了无法运行Eclipse; JVM终止退出代码= 13的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是在eclipse.ini中附加
-vm
C:\Program Files\Java\jre6\bin\javaw.exe

I just append -vm C:\Program Files\Java\jre6\bin\javaw.exe

那么我再次尝试再次启动eclipse并得到这个错误。给我如何解决或链接,实际上解决它。

in eclipse.ini then I try to start eclipse again and got this error. Give me how to solve or link that actually solve it.

这是我的eclipse.ini

this is my eclipse.ini

-startup 
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
 --launcher.library
 plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810 
-showsplash
 org.eclipse.platform
--launcher.XXMaxPermSize 256m 
--launcher.defaultAction 
openFile 
-vm 
C:\Program Files\Java\jre6\bin\javaw.exe
-vmargs 
-Xms40m 
-Xmx384m

谢谢

推荐答案

它可能只是错误显示的方式(而不是如何在eclipse.ini文件中编写),但在 Eclipse.ini(指定JVM),说出以下内容:

It may just be the way the error shows (and not how it is written in the eclipse.ini file), but there is text in Eclipse.ini (Specifying the JVM) that says the following:



  • -vm选项及其值(路径)必须是

  • 该值必须是Java可执行文件的完全绝对路径,而不仅仅是Java主目录。

  • -vm选项必须在-vmargs选项之前,因为-vmargs之后的所有内容都直接传递到JVM

这篇关于无法运行Eclipse; JVM终止退出代码= 13的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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