Possible to use mac os x JDK 1.6 port ( SoyLatte ) to launch AWT / Swing application?

Carfield Yim carfield at carfield.com.hk
Thu Feb 21 10:58:01 PST 2008


I get the following exception:


Exception in thread "main" java.lang.UnsatisfiedLinkError:
/Users/carfield/soylatte/jre/lib/i386/xawt/libmawt.dylib:
dlopen(/Users/carfield/soylatte/jre/lib/i386/xawt/libmawt.dylib, 1):
Library not loaded: /usr/X11R6/lib/libXext.6.dylib
  Referenced from: /Users/carfield/soylatte/jre/lib/i386/xawt/libmawt.dylib
  Reason: image not found
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1770)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1648)
        at java.lang.Runtime.load0(Runtime.java:770)
        at java.lang.System.load(System.java:1005)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1770)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1669)
        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
        at java.lang.System.loadLibrary(System.java:1030)
        at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
        at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
        at java.awt.Component.<clinit>(Component.java:552)

>From the website, it is mentioned it should be ok to run with X11, how
can I config it?



More information about the porters-dev mailing list