pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

OpenJDK and X11



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)

- Jukka.


Home | Main Index | Thread Index | Old Index