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

Greg Lewis glewis at eyesbeyond.com
Thu Feb 21 11:09:55 PST 2008


G'day,

On Fri, Feb 22, 2008 at 02:58:01AM +0800, Carfield Yim wrote:
> 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

These may seem like obvious questions, but does this file exist?
That is, do you have X11 installed?  This seems like the most likely
explanation.

>   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?

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org



More information about the porters-dev mailing list