[kaffe] Using Kaffe with Nano-X engine

2005-09-23 Thread Gianluca Moro
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?

thanx
giammy



--
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
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Using Kaffe with Nano-X engine

2005-09-23 Thread Dalibor Topic
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
report.

ciao,
dalibor topic

___
kaffe mailing list
kaffe@kaffe.org
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe