无法运行Eclipse;(Cannot run Eclipse; JVM terminated. Exit code=13)
我只是附加-vm C:\ Program Files \ Java \ jre6 \ bin \ javaw.exe
在eclipse.ini然后我尝试再次启动eclipse并得到这个错误。 给我如何解决或链接,实际上解决它。
这是我的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谢谢
I just append -vm C:\Program Files\Java\jre6\bin\javaw.exe
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.
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 -Xmx384mThank you
最满意答案
它可能只是错误显示的方式(而不是如何在eclipse.ini文件中编写),但是Eclipse.ini中有文本(指定JVM) ,说明如下:
-vm选项及其值(路径)必须在单独的行上。 该值必须是Java可执行文件的绝对路径,而不仅仅是Java主目录。 -vm选项必须在-vmargs选项之前,因为-vmargs之后的所有内容都将直接传递到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:
The -vm option and its value (the path) must be on separate lines. The value must be the full absolute path to the Java executable, not just to the Java home directory. The -vm option must occur before the -vmargs option, since everything after -vmargs is passed directly to the JVM
更多推荐
发布评论