Eclipse Plugin Central

EPiC Wishlist - Eclipse error: JVM terminated Exit code=1

Anonymous - Dec 30, 2005 - 01:41 AM
Post subject: Eclipse error: JVM terminated Exit code=1
Is there anyone who will help me in solving the problem?
The error message is as follows:

JVM terminated. Exit code=1
C:\WINDOWS\system32\javaw.exe
-cp C:\Eclipse-SDK-3.0-win32\eclipse\startup.jar org.eclipse.core.launcher.Main
-os win 32
-ws win 32
-arch x86
-showsplash C:\Eclipse-SDK-3.0-win32\eclipse.exe -showsplash600
-exitdata C:\Eclipse-SDK-3.0-win32\eclipse\eclipse.exe -exitdata9b4_38
-vm C:\WINDOWS\system32\javaw.exe
-vmargs
-cp C:\Eclipse-SDK-3.0-win32\eclipse\startup.jar org.eclipse.core.launcher.Main

I've downloaded JDK1.4 version of java and it is working properly.
I'm using Windows XP as operating system.

Anyone who knows the solution, please kindly post the solution on dhanwanti_patki@persistent.co.in.
Suggetions are also welcome.
I'll be very thankful.
Dhanwanti.
Anonymous - Jan 18, 2006 - 10:40 PM
Post subject: RE: Eclipse error: JVM terminated Exit code=1
I had the same error occur with me using Websphere Application Developer (which is built on top of eclipse). I have 1.5Gb of memory but I seems to be at 100% Memory Usage. Please check your task manager and let me know if you are experiencing the same problem.

Thanks
Anonymous - Jun 11, 2006 - 12:08 AM
Post subject: RE: Eclipse error: JVM terminated Exit code=1
JVM terminated. Exit code=1
/usr/bin/java
-Xms40m
-Xmx256m
-jar /home/venki/softwares/eclipse/./startup.jar
-os linux
-ws gtk
-arch x86
-launcher /home/venki/softwares/eclipse/./eclipse
-name Eclipse
-showsplash 600
-exitdata e40023
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx256m
mickle24 - Jun 15, 2006 - 10:34 PM
Post subject: RE: Eclipse error: JVM terminated Exit code=1
I had the same problem, I solved it by copy the files named jre under the path of java to the eclipse path, but I don't know whehther it works for your situation.
Anonymous - Jun 29, 2006 - 08:43 AM
Post subject: RE: Eclipse error: JVM terminated Exit code=1
Plz somebody seggest me final solution for above problem...I'm also having same problem... Sad
bsteimel - Jul 13, 2006 - 01:22 PM
Post subject: jvm terminated. exit code=1 when trying to save
I am also recieved the very same java runtime error. This happened when i try to save anything while using phpeclipse. I have java version 1.5 update 7 with eclipse 3.2. I have phpeclipse verison 1.8 and also tried using it with verison 1.9 from the cvs repository. If anyone has resolved this issue please let me know. I already tried coping the files from /usr/java to eclipse/jre but this didn't work.

Thank Bryan

Eclipse error log

eclipse.buildId=M20060629-1905
java.version=1.5.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86

!ENTRY org.eclipse.osgi 4 0 2006-07-13 13:15:36.156
!MESSAGE While loading class "net.sourceforge.phpeclipse.PHPeclipsePlugin$3$1", thread "Worker-2" timed out waiting (5000ms) for thread "Worker-1" to finish starting bundle "net.sourceforge.phpeclipse". To avoid deadlock, thread "Worker-2" is proceeding but "net.sourceforge.phpeclipse.PHPeclipsePlugin$3$1" may not be fully initialized.
!STACK 0
java.lang.Exception: Generated exception.
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:75)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:409)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:339)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:391)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:352)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at net.sourceforge.phpeclipse.PHPeclipsePlugin$3.run(PHPeclipsePlugin.java:1182)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:5Cool

jvm error:
JVM terminated. Exit code=1
/home/bsteimel/.eclipse/jre/bin/java
-Xms40m
-Xmx256m
-jar /home/bsteimel/.eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /home/bsteimel/.eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 6ad0009
-vm /home/bsteimel/.eclipse/jre/bin/java
-vmargs
-Xms40m
-Xmx256m
-jar /home/bsteimel/.eclipse/startup.jar
bsteimel - Jul 13, 2006 - 03:42 PM
Post subject: RE: jvm terminated. exit code=1 when trying to save
I fixed my problem i simply deleted the meta flie in the workspace directory
haoole - Aug 05, 2006 - 04:07 PM
Post subject: Same error
Everytime that i open, modify and try to save any php file, eclipse just close and show the following error:

Code:

JVM terminated. Exit code=1
/usr/bin/java
-Xms40m
-Xmx256m
-jar /usr/share/eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /usr/share/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 210012
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx256m
-jar /usr/share/eclipse/startup.jar


Since im starting eclipse through shell the following lines appear in shell:

Code:

LoadPlugin: failed to initialize shared library libXt.so [libXt.so: cannot open shared object file: No such file or directory]
LoadPlugin: failed to initialize shared library libXext.so [libXext.so: cannot open shared object file: No such file or directory]
LoadPlugin: failed to initialize shared library /usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/plugin/i386/ns7/libjavaplugin_oji.so [/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/plugin/i386/ns7/libjavaplugin_oji.so: undefined symbol: _ZTVN10__cxxabiv121__vmi_class_type_infoE]
LoadPlugin: failed to initialize shared library /usr/lib/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so [/usr/lib/Adobe/Acrobat7.0/Browser/intellinux/nppdf.so: undefined symbol: XtCalloc]
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0xa48fa66d, pid=6071, tid=3084699328
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode, sharing)
# Problematic frame:
# C  [libxpcom_core.so+0x8766d]  _ZN18nsAString_internal6AssignERKS_+0x17
#
# An error report file with more information is saved as hs_err_pid6071.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#


At Eclipse error log:

Code:

MESSAGE

While loading class "net.sourceforge.phpeclipse.PHPeclipsePlugin$3$1", thread "Worker-2" timed out waiting (5000ms) for thread "Worker-0" to finish starting bundle "net.sourceforge.phpeclipse". To avoid deadlock, thread "Worker-2" is proceeding but "net.sourceforge.phpeclipse.PHPeclipsePlugin$3$1" may not be fully initialized.

STACK TRACE

java.lang.Exception: Generated exception.
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.preFindLocalClass(EclipseLazyStarter.java:75)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:409)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:339)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:391)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:352)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at net.sourceforge.phpeclipse.PHPeclipsePlugin$3.run(PHPeclipsePlugin.java:1182)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

SESSION DATA

eclipse.buildId=M20060629-1905
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86


My JVM version

Code:

$ java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)


Im using Ubuntu Linux 6.06 and i installed the jvm through apt-get. The php eclipse i installed through cvs update site "http://phpeclipse.sourceforge.net/update/cvs/" since the stable version is for eclipse 3.1. I have already deleted the workspace but nothing happened.
bsteimel - Aug 07, 2006 - 09:11 AM
Post subject: RE: Same error
haoole: i would try 2 things.
1. find a debian package that has libXext.so in it and install it.
2. in the eclipse directory you usually have to have a directory named jre, for me a symbolic link didn't work i acually had to copy the whole jre directory from usr/java to my eclipse directory that might help.
ozvena - Sep 01, 2006 - 02:07 PM
Post subject: RE: Same error
I get the same error, JVM terminated. Exit code=1 ,when I try to add external jar files into a newly created project.

I have even tried different JVMs and different versions of Eclipse....I do not see any log generated, only: JVM terminated. Exit code=1 , as reported above, please help...
Guest - Sep 08, 2006 - 05:07 PM
Post subject:
hi!

See: http://publib.boulder.ibm.com/infocente ... dcode.html

If you have the sun JVM 1.4.2.x or 1.5 increase the heap storage with the Xmx Parameter!
I had the same problem. I changed from Xmx256 to Xmx350
assoly - Jun 16, 2007 - 09:13 AM
Post subject:
My problem
Code:
JVM terminated. Exit code=1
/usr/bin/java
-Xms40m
-Xmx256m
-jar /usr/share/eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /usr/share/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 210012
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx256m
-jar /usr/share/eclipse/startup.jar

resolve very simple.
Situation:
System Ubuntu 7.04
Java 5
Solution:
1) In file ~/.bashrc add this code (for working ~/bin):
Code:
[ -d ~/bin ] && [ "${PATH/$HOME\/bin/}" = "${PATH}" ] && export PATH="$HOME/bin:$PATH"

2) then install sun-java6-bin package
3) then create link to my java 6 in directory ~/bin (create this) to /usr/lib/jvm/java-6-sun/bin/java
4) OK!
vijaythavasivaprakasam - Aug 23, 2007 - 01:40 AM
Post subject: reply
Hi Dhanwanti,

How are you doing today?
I saw your problem in Eclipse Plugin Central (EPiC) did u find solution for that problem (i.e..,) JVM terminated C:\WINDOWS\system32\javaw.exe
If u have the solution kindly tell me immediately please….
Thanks in advance . ..[/b]
vijaythavasivaprakasam - Aug 23, 2007 - 01:41 AM
Post subject: RE: reply
Joined: Aug 23, 2007
Posts: 1


Hi Dhanwanti,

How are you doing today?
I saw your problem in Eclipse Plugin Central (EPiC) did u find solution for that problem (i.e..,) JVM terminated C:\WINDOWS\system32\javaw.exe
If u have the solution kindly tell me immediately please….
tmenzel - Sep 13, 2007 - 04:29 AM
Post subject:
hi folks had the same problem with eclipse 3.3 in win xp2 sp2
it seemed that it was due to setting a specific VM in the .ini file
you can control the VM by setting JAVA_HOME as well at seems to work better
naveenreddya - May 01, 2008 - 01:25 PM
Post subject: Re: RE: Eclipse error: JVM terminated Exit code=1
Anonymous wrote:
I had the same error occur with me using Websphere Application Developer (which is built on top of eclipse). I have 1.5Gb of memory but I seems to be at 100% Memory Usage. Please check your task manager and let me know if you are experiencing the same problem.

Thanks



I had the same issue with RAD 7.0 (Websphere Application Developer 7.0). JVM all of sudden exiting and never eclipse was starting. I think Websphere by default adds more parameters in eclipse.ini thats what was creating problem.

This was default one

-vm
C:\RAD7\SDP70\jdk\jre\bin\javaw.exe
-vmargs
-Xquickstart
-Xms40m
-Xmx768m
-Xgcpolicy:gencon
-Xscmx96m
-Xshareclasses:singleJVM,keep
-Xnolinenumbers
-XX:MaxPermSize=512M


After removing this parameter from the file everyrthing worked

-Xshareclasses:singleJVM,keep

Thanks,
naveen
naveenreddya - May 01, 2008 - 01:26 PM
Post subject:
I had the same issue with RAD 7.0 (Websphere Application Developer 7.0). JVM all of sudden exiting and never eclipse was starting. I think Websphere by default adds more parameters in eclipse.ini thats what was creating problem.

This was default one

-vm
C:\RAD7\SDP70\jdk\jre\bin\javaw.exe
-vmargs
-Xquickstart
-Xms40m
-Xmx768m
-Xgcpolicy:gencon
-Xscmx96m
-Xshareclasses:singleJVM,keep
-Xnolinenumbers
-XX:MaxPermSize=512M


After removing this parameter from the file everyrthing worked

-Xshareclasses:singleJVM,keep

Thanks,
naveen
naveenreddya - May 01, 2008 - 01:28 PM
Post subject:
I had the same issue with RAD 7.0 (Websphere Application Developer 7.0). JVM all of sudden exiting and never eclipse was starting. I think Websphere by default adds more parameters in eclipse.ini thats what was creating problem.

This was default one

-vm
C:\RAD7\SDP70\jdk\jre\bin\javaw.exe
-vmargs
-Xquickstart
-Xms40m
-Xmx768m
-Xgcpolicy:gencon
-Xscmx96m
-Xshareclasses:singleJVM,keep
-Xnolinenumbers
-XX:MaxPermSize=512M


After removing this parameter from the file everyrthing worked

-Xshareclasses:singleJVM,keep

Thanks,
naveen
rlin - May 22, 2008 - 11:17 AM
Post subject: Where is the location of Xmx?
I got JVM terminated. Exit code=1
when I tried to create new Dynamic Web Application.
I would like to try increase Xmx and Xms, however, I don't know where to modify.
Could you let me know the location?

RLin

Guest wrote:
hi!

See: http://publib.boulder.ibm.com/infocente ... dcode.html

If you have the sun JVM 1.4.2.x or 1.5 increase the heap storage with the Xmx Parameter!
I had the same problem. I changed from Xmx256 to Xmx350

asdfkl3 - May 26, 2008 - 06:48 AM
Post subject:
hy,

i had the same problem and seemed to fix it.

i just copied the command from the error message into an executable file and moved it to ~/bin

Code:
ln -s /usr/lib/jvm/java-6-sun/bin/java ~/bin/java
echo /usr/lib/jvm/java-6-sun/bin/java -Djava.library.path=/usr/lib/jni -Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db -Dgnu.gcj.runtime.VMClassLoader.library_control=never -Dosgi.locking=none -jar /usr/lib/eclipse/startup.jar -os linux -ws gtk  -arch x86_64 -launcher /usr/lib/eclipse/eclipse -name Eclipse  -showsplash 600  -exitdata 5d8013  -install /usr/lib/eclipse  -vm /usr/lib/jvm/java-6-sun/bin/java  -vmargs  -Djava.library.path=/usr/lib/jni -Dgnu.gcj.precompiled.db.path=/var/lib/gcj-4.2/classmap.db -Dgnu.gcj.runtime.VMClassLoader.library_control=never -Dosgi.locking=none -jar /usr/lib/eclipse/startup > ~/bin/eclipse
chmod 705 ~/bin/eclipse


Seems to be running now for me.[/code]
johnmuir - May 27, 2008 - 09:05 AM
Post subject: Solved: it was corruption in the eclipse.ini
This was also driving me nuts until I looked in the eclipse.ini file in the eclipse installation folder. Somehow the line

--launcher.XXMaxPermSize256M

had been split into two lines

--launcher.XXMaxPermSize
256M

Correcting this. eliminated the problem. I've no idea who/what caused the error, maybe a bug in the options handler. Any one know?
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits