java/118496: Eclipse packages do not work with 6.3-RC1/amd64
Jim Capozzoli
saltmiser at gmail.com
Sat Dec 8 10:30:02 PST 2007
>Number: 118496
>Category: java
>Synopsis: Eclipse packages do not work with 6.3-RC1/amd64
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-java
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Dec 08 18:30:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Jim Capozzoli
>Release: 6.3-RC1
>Organization:
>Environment:
FreeBSD frylock.moonrazor.servebbs.net 6.3-RC1 FreeBSD 6.3-RC1 #0: Mon Nov 26 21:52:21 UTC 2007 root at palmer.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
If you install eclipse from packages, the resulting `eclipse-devel` binary doesn't work. You receive two error messages in two different places.
The first one comes up in a gui prompt:
JVM terminated. Exit code=1
/usr/local/bin/java
-Xms40m
-Xmx256m
-jar /usr/local/eclipse-devel/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
-os freebsd
-ws gtk
-arch amd64
-showsplash
-launcher /usr/local/eclipse-devel/eclipse
-name Eclipse
--launcher.library /usr/local/eclipse-devel/plugins/org.eclipse.equinox.launcher.gtk.freebsd.amd64_1.0.1.R33x_v20070828/eclipse_1020.so
-startup /usr/local/eclipse-devel/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
-exitdata 50017
-vm /usr/local/bin/java
-vmargs
-Xms40m
-Xmx256m
-jar /usr/local/eclipse-devel/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
The second is found when you attempt to launch eclipse-devel from a terminal:
[saltmiser at frylock /usr/lib]$ eclipse-devel
/libexec/ld-elf.so.1: /usr/local/eclipse-devel/configuration/org.eclipse.osgi/bundles/109/1/.cp/libswt-mozilla-gtk-3346.so: Undefined symbol "NS_StringContainerInit2"
[saltmiser at frylock /usr/lib]$
Output of `java -version`
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b01)
Java HotSpot(TM) 64-Bit Server VM (build diablo-1.5.0_07-b01, mixed mode)
This problem, I believe, is also similar to the following PR, but that PR deals with 7.0-CURRENT.
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/118115
>How-To-Repeat:
Install eclipse on 6.3-RC1/amd64 from packages, then try to run the resulting `eclipse-devel` binary.
>Fix:
Some googling picks up the following links that might help; I think the problem lies in how eclipse is built to use mozilla/gecko libraries.
http://archive.netbsd.se/?ml=freebsd-eclipse&a=2006-04&m=2707667
http://www.eclipse.org/swt/faq.php#browserlinux
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-java
mailing list