Eclipse 3.5 Startup error JVM Terminated. Exit Code=-1 —> Resolution January 4, 2010
Posted by prvenkatr in Information Technology.trackback
I too faced the problem of “JVM Terminated. Exit Code=-1″ when i installed eclipse 3.5 in a fresh directory.
This is faced by many people and there are some workarounds given by many people. I thank them for their efforts.
Let me list down what worked for me.
Solution 1:
Renaming eclipse.exe to eclipse1.exe
Solution 2:
The real problem is with the eclipse.ini file. If you have you old exlipse.ini file from the previous version that is working fine then you can adopt from that and change only the entries like plugins\, launch\ etc which refers to the new jar version. For example the for plugin the entry will be like the following.
plugins\org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
Ok.
The below is my eclipse.ini file entries.
–launcher.XXMaxPermSize
256M
-framework
plugins\org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-vmargs
-Dsun.lang.ClassLoader.allowArraySyntax=true
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
-Duser.name=My Name
More Info:
I use Windows XP and my machine has multiple JVM installations. 1.5, 1.6 from Sun and also Jrockit JVM from 1.5.
I personally prefer Solution 2, for very obvious reasons.
Comments»
No comments yet — be the first.