From owner-freebsd-java Wed Aug 25 23:31:56 1999 Delivered-To: freebsd-java@freebsd.org Received: from nets5.rz.rwth-aachen.de (nets5.rz.RWTH-Aachen.DE [137.226.144.13]) by hub.freebsd.org (Postfix) with ESMTP id 64B6714BEB for ; Wed, 25 Aug 1999 23:31:48 -0700 (PDT) (envelope-from kuku@gilberto.physik.RWTH-Aachen.DE) Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by nets5.rz.rwth-aachen.de (8.9.1a/8.9.1/6) with ESMTP id IAA08491 for ; Thu, 26 Aug 1999 08:31:17 +0200 (MET DST) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.30.2]) by campino.informatik.rwth-aachen.de (8.9.1a/8.9.1/3) with ESMTP id IAA05852 for ; Thu, 26 Aug 1999 08:31:17 +0200 (MET DST) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.9.2/8.6.9) id IAA63165 for freebsd-java@freebsd.org; Thu, 26 Aug 1999 08:31:19 +0200 (CEST) Date: Thu, 26 Aug 1999 08:31:19 +0200 (CEST) From: Christoph Kukulies Message-Id: <199908260631.IAA63165@gil.physik.rwth-aachen.de> To: freebsd-java@freebsd.org Subject: JDK1.2 (linux) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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.(Toolkit.java:903) at java.awt.Component.(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