无法运行Eclipse;(Cannot run Eclipse; JVM terminated. Exit code=13)

编程入门 行业动态 更新时间:2024-10-11 15:17:56
无法运行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 -Xmx384m

Thank 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

更多推荐

本文发布于:2023-08-01 06:19:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1354197.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:JVM   run   Eclipse   terminated   code

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!