Tuesday, November 27, 2018

startup - Cannot run Eclipse; JVM terminated. Exit code=13



enter image description here




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


Answer



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



No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...