Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Aug 1999 08:31:19 +0200 (CEST)
From:      Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>
To:        freebsd-java@freebsd.org
Subject:   JDK1.2 (linux)
Message-ID:  <199908260631.IAA63165@gil.physik.rwth-aachen.de>

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

I was able to run Java 2 (jdk1.2) under 3.2 with linux emulation.
The only problem that persists is that I can't run the appletviewer.

First  /home/local/jdk1.2/jre/lib/i386/libXp.so.6 was missing.
Putting a Linux libXp.so.6 into  /home/local/jdk1.2/jre/lib/i386/libXp.so.6
results in:

/home/kuku/swing> appletviewer s.html
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/local/jdk1.2/jre/lib/i386/libawt.so: /home/local/jdk1.2/jre/lib/i386/libXp.so.6: undefined symbol: _Xglobal_lock
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Compiled Code)
        at java.lang.ClassLoader.loadLibrary(Compiled Code)
        at java.lang.Runtime.loadLibrary0(Compiled Code)
        at java.lang.System.loadLibrary(Compiled Code)
        at sun.security.action.LoadLibraryAction.run(Compiled Code)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.loadLibraries(Compiled Code)
        at java.awt.Toolkit.<clinit>(Toolkit.java:903)
        at java.awt.Component.<clinit>(Component.java:258)
/home/kuku/swing> 

The same happens if I put the FreeBSD /usr/X11R6/lib/libXp.so.6 into
/compat/linux/lib/X11 (or where the X libs in the linux area
are located - yes, I was told this oughta work)

Any clues?


-- 
Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




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