Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 285996

Summary: dev-util/eclipse-sdk-3.2.1-r3 start failure
Product: Gentoo Linux Reporter: g0th1c <gothic0000>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: critical CC: Ma3oxuct
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
screen shot of bug
Ma3oxuct-world
Ma3oxuct-emergeinfo

Description g0th1c 2009-09-22 18:32:01 UTC
Hi.I install dev-util/eclipse-sdk-3.2.1-r3 is stable now in portage, but I get this message on start always: 

JVM terminated. Exit code=127
/usr/bin/java
-jar /usr/lib/eclipse-3.2/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /usr/lib/eclipse-3.2/eclipse
-name Eclipse
-showsplash 600
-exitdata 2098005
-vm /usr/bin/java
-vmargs
-jar /usr/lib/eclipse-3.2/startup.jar 

and message on standard output or error stendard output:

$ eclipse-3.2
/usr/lib/jvm/sun-jdk-1.6/bin/java: symbol lookup error: /home/g0th1c/.eclipse/org.eclipse.platform_3.2.0/configuration/org.eclipse.osgi/bundles/55/1/.cp/libswt-mozilla-gtk-3235.so: undefined symbol: _ZN4nsID5ParseEPKc


Reproducible: Always

Steps to Reproduce:
1. install eclipse 
2. run eclipse :-)
3.




emerge --info and screen shot is attached.
Please help me.
Comment 1 g0th1c 2009-09-22 18:37:24 UTC
Created attachment 204956 [details]
emerge --info
Comment 2 g0th1c 2009-09-22 18:38:28 UTC
Created attachment 204957 [details]
screen shot of bug
Comment 3 Andrey Falko 2009-09-23 19:49:11 UTC
I have hit this bug as well on a fresh Gentoo install with the same ebuild version. I will attach my emerge info as well as my world file shortly.
Comment 4 Andrey Falko 2009-09-23 19:50:11 UTC
Created attachment 205051 [details]
Ma3oxuct-world
Comment 5 Andrey Falko 2009-09-23 19:50:56 UTC
Created attachment 205052 [details]
Ma3oxuct-emergeinfo
Comment 6 Andrey Falko 2009-09-23 19:56:39 UTC
I have found a workaround: 

$ java-config-2 -L
The following VMs are available for generation-2:
1)      Sun JDK 1.4.2.19 [sun-jdk-1.4]
2)      Sun JDK 1.5.0.20 [sun-jdk-1.5]
*)      Sun JDK 1.6.0.15 [sun-jdk-1.6]
$ java-config-2 -s 2
Now using sun-jdk-1.5 as your user JVM
$ eclipse-3.2
/usr/lib/jvm/sun-jdk-1.5/bin/java: symbol lookup error: /home/afalko/.eclipse/org.eclipse.platform_3.2.0/configuration/org.eclipse.osgi/bundles/19/1/.cp/libswt-mozilla-gtk-3235.so: undefined symbol: _ZN4nsID5ParseEPKc
$ java-config-2 -s 1
Now using sun-jdk-1.4 as your user JVM
$ eclipse-3.2
Comment 7 g0th1c 2009-09-25 14:45:21 UTC
Thanks, this work fine with sun-jdk-1.4.
In /usr/lib/eclipse-3.2/readme/readme_eclipse.html wrote: 

With the exception of a small set of features that actually require Java SE 5 APIs (in particular, the support for Annotation Processing and JUnit 4), the 3.2 release of the Eclipse Project runs against version 1.4 of the Java 2 Platform. As such, the Eclipse Project SDK as a whole is targeted at both 1.4 and Java5 VMs, with full functionality available for 1.4 level development everywhere, and new Java5 specific capabilities available when running on a Java5 VM. Appendix 1 contains a table that indicates the class library level required for each plug-in.

I close this bug.