pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: OpenJDK and X11
On 21 September 2011 21:24, Jukka Ruohonen <jruohonen%iki.fi@localhost> wrote:
> Hello.
>
> How is OpenJDK linked? I get the following (modular X11):
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> /usr/pkg/java/openjdk7-bin/jre/lib/i386/xawt/libmawt.so: Shared object
> / "libXext.so.6" not found
> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1773)
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1670)
> at java.lang.Runtime.load0(Runtime.java:787)
> at java.lang.System.load(System.java:1041)
> at java.lang.ClassLoader$NativeLibrary.load(Native Method)
> at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1773)
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1691)
> at java.lang.Runtime.loadLibrary0(Runtime.java:840)
> at java.lang.System.loadLibrary(System.java:1066)
> at
> sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
> at
> sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.awt.Toolkit.loadLibraries(Toolkit.java:1644)
> at java.awt.Toolkit.<clinit>(Toolkit.java:1666)
> at java.awt.Component.<clinit>(Component.java:575)
> at JButtonDemo.main(JButtonDemo.java:7)
>
IIRC it was linked against native X11. I would recommend building
lang/openjdk7 and using it - its more recent and will link against the
correct libs. I've been using it on amd64 current to build some quite
large projects & just tested X11 by firing up jresport & all seems
fine.
Home |
Main Index |
Thread Index |
Old Index