[kaffe] Using Kaffe with Nano-X engine

Dalibor Topic robilad at kaffe.org
Fri Sep 23 08:30:26 PDT 2005

Gianluca Moro wrote:
> Hi all,
> I'm trying to compile Kaffe on a MIPS embedded
> system with Nano-X as graphical library.
> The compilation was done with
> ./configure --with-jikes=no --with-engine=intrp 
> --enable-pure-java-math --without-esd --without-kaffe-x-awt
> --with-kaffe-nanox-awt --with-jikes=no
> --with-rt-jar=/home/AMDgiammy/kaffe-1.1.6/libraries/javalib/rt.jar
> --without-classpath-gtk-awt
> Now I correctly execute java programs with textual output,
> but when I try a graphical Hello World test,
> I get:
> java.awt.AWTError: Cannot load AWT toolkit:
> gnu.java.awt.peer.gtk.GtkToolkit
> It seems kaffe try to use X (non present), but I have
> not found where to tell it to use Nano-X!
> Can someone give me a pointer to some configuration or steps
> I must accomplish 
> to make kaffe execute graphical programs on Nano-X?

Ciao gianluca,

try kaffe -Xkaffe-nanox-awt HelloWorld. :)

I'll add that to the documentation in FAQ/FAQ.awt. Thanks for the bug

dalibor topic

More information about the kaffe mailing list