Eclipse and JDK1.3

Volker Stolz vs at FreeBSD.org
Fri Jun 4 07:40:07 PDT 2004


[Involving java@]

Am 04. Jun 2004 um 13:28 CEST schrieb Norikatsu Shigemura:
> On Wed, 2 Jun 2004 09:56:27 +0200
> Volker Stolz <vs at freebsd.org> wrote:
> > Hi Norikatsu, I think you must have heard this questions about a
> > thousand times...are you sure that Eclipse indeed runs with JDK1.3
> > on -STABLE? I get the pthread_attr_destroy problem, and installing
> > jdk1.4 did help immediately.
> > Maybe requiring jdk1.4 in the port would save new users finding out
> > the hard way.
> 
> 	I don't know what you say.  I didn't exactly confirm on
> 	4-stable and JDK1.3(even if on current).  Should I fix
> 	these problems?  If you say so, please contact kan@ as
> 	the first author(of eclipse port) or java at .  I confirmed
> 	almost works, so I just committed.

I just did a clean build of Eclipse using Diablo in a jail on my machine
and get the same error:

stolz at menelaos [16:29:45]> eclipse
java.lang.UnsatisfiedLinkError: /usr/local/eclipse/plugins/org.eclipse.swt.gtk_2.1.3/os/freebsd/x86/libswt-pi-gtk-2136.so: /usr/local/lib/libgthread-2.0.so.400: Undefined symbol "pthread_attr_destroy"
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1290)
        at java.lang.Runtime.loadLibrary0(Runtime.java:749)
        at java.lang.System.loadLibrary(System.java:820)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:108)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
        at org.eclipse.swt.widgets.Display.create(Display.java:469)
        at org.eclipse.swt.graphics.Device.<init>(Device.java:111)
        at org.eclipse.swt.widgets.Display.<init>(Display.java:303)
        at org.eclipse.swt.widgets.Display.<init>(Display.java:299)
        at org.eclipse.ui.internal.Workbench.run(Workbench.java:1361)
        at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
        at org.eclipse.core.boot.BootLoader.run(BootLoader.java:468)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
        at org.eclipse.core.launcher.Main.run(Main.java:747)
        at org.eclipse.core.launcher.Main.main(Main.java:583)

stolz at menelaos [16:29:56]> pkg_info -W /usr/local/lib/libgthread-2.0.so.400
/usr/local/lib/libgthread-2.0.so.400 was installed by package glib-2.4.1_1

glib was installed from a port, not from a package.

Does somebody have Eclipse actually running on 4.X with JDK13? I'm running
4.9-STABLE FreeBSD 4.9-STABLE #15: Thu Mar 25 15:34:34 CET 2004

Volker
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
Neu! Ändern Sie den Anfangstag Ihrer Woche


More information about the freebsd-java mailing list