LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   JVM crash on Debian Lenny with Eclipse (https://www.linuxquestions.org/questions/linux-newbie-8/jvm-crash-on-debian-lenny-with-eclipse-703562/)

V0D 02-10-2009 04:32 AM

JVM crash on Debian Lenny with Eclipse
 
Hi!

I was using Eclipse 3.2, when it just crashed. I got the following message:

JVM terminated. Exit code=127
/usr/lib/jvm/java-6-openjdk/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
-launcher /usr/lib/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 2e0012
-install /usr/lib/eclipse
-vm /usr/lib/jvm/java-6-openjdk/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.jar

Also, each time I open Eclipse I get: "This Eclipse build doesn't have support for the integrated browser".

I've tried to launch Eclipse from the shell, and this is the result:

alby@debian:~$ eclipse
searching for compatible vm...
testing /usr/lib/jvm/java-6-openjdk...found
/usr/lib/jvm/java-6-openjdk/bin/java: symbol lookup error: /home/alby/.eclipse/org.eclipse.platform_3.2.0/configuration/org.eclipse.osgi/bundles/107/1/.cp/libswt-mozilla-gtk-3236.so: undefined symbol: _ZN4nsID5ParseEPKc
alby@debian:~$

I've seen other people with my same problem, but I've found no valid solution. This problem forbids me to use Eclipse, but I need that IDE. How can I solve this?

alan_ri 02-10-2009 09:09 PM

Try;
Code:

apt-get install xulrunner

V0D 02-11-2009 09:42 AM

Thanks!

I've resolved by installing a newer version (3.4 Ganymede), downloading it from the Eclipse repository.

The broken version (3.2) is an official Debian package... Have I been unlucky?

alan_ri 02-11-2009 11:18 AM

The bugs have been discussed,but I don't know if they've been reported.There are some workarounds on the net,installing xulrunner is one of them.

jestinjoy 04-28-2010 10:55 PM

I also had the same problem. I installed xulrunner and it works fine. Thanks

plus2plus 04-29-2010 03:55 AM

Hello! I'm new here, I had the same problem. By follow this topic, try to solve myself and it works fine. Thanks and regards,

QvasiModo 06-21-2010 10:20 AM

The fix doesn't work for me :(

Quote:

$ sudo apt-get install xulrunner
[sudo] password for root:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package xulrunner is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package xulrunner has no installation candidate
There is a xulrunner-1.9 package however. I had it installed already, tried reinstalling anyway. Didn't work either.

I'm running Debian Lenny on x86_64.

Racius 06-23-2010 09:55 AM

I have absolutely the same problem as QvasiModo, also the same distribution of linux... Has anybody idea how to fix it? :(

jestinjoy 11-21-2010 08:19 AM

Seems like you didnt gave the name correclty. Use the command
Code:

apt-cache search xulrunner
to find the exact name of the package. Otherwise your sources list doesnot have repo for this package.


All times are GMT -5. The time now is 07:15 PM.