Hi, I was getting the same problem: in the archive there's the thread, anyway, with the help of Dalibor, I get to the following command line which tells kaffe to use Nano-X:
/usr/local/kaffe/bin/kaffe -Dkaffe.awt.nativelib=nanoxawt -Xbootclasspath/p:/path/to/kaffeawt.jar Hello which platform are you using: I'm testing on a MIPS machine. bye giammy --- [EMAIL PROTECTED] wrote: > All, > > I'm a bit struggling getting to run nano-X AWT. > I (cross)compile using the following switches (amongst others): > --without-kaffe-x-awt \ > --with-kaffe-nanox-awt --with-nanox-include (..) --with-nanox-library > > (...) \ > --without-classpath-gtk-awt \ > > When I run with > # kaffe-bin -Xkaffe-nanox-awt -Xbootclasspath:/tmp/nfs/jre/lib/rt.jar > > FirstAWT > > I get: > java.awt.AWTError: Cannot load AWT toolkit: > gnu.java.awt.peer.gtk.GtkToolkit > at java.awt.Toolkit.getDefaultToolkit (Toolkit.java:535) > (...) > Caused by: java.lang.UnsatisfiedLinkError: Could not find library > 'gtkpeer' > (...) > > Apparently, the build is OK, since a kaffe-bin -version shows me the > --Xkaffe-nanox-awt switch, but when I use this, kaffe is still > looking > for gtk. > Any suggestion is very welcome ! > > Thanks, > > Wim > > Note: I'm using the 1.1.5 release > > _______________________________________________ > kaffe mailing list > [email protected] > http://kaffe.org/cgi-bin/mailman/listinfo/kaffe > -- Gianluca Moro Visit http://ilpinguino.altervista.org/ [EMAIL PROTECTED] MyBlog http://blog.libero.it/giangiammy/ __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com _______________________________________________ kaffe mailing list [email protected] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
