Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Dec 2007 18:26:06 GMT
From:      Jim Capozzoli <saltmiser@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   java/118496: Eclipse packages do not work with 6.3-RC1/amd64
Message-ID:  <200712081826.lB8IQ6gc085628@www.freebsd.org>
Resent-Message-ID: <200712081830.lB8IU2Gl092560@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712081826.lB8IQ6gc085628>