[kaffe] Porting kaffe to mips with nano-X

Gianluca Moro giangiammy at yahoo.com
Mon Sep 26 01:29:53 PDT 2005


hi,

thank to Dalibor for you help:
the problem with nano-X interface was that
kaffeawt.jar was not compiled. 
(the kaffe-1.1.6/libraries/javalib/Makefile
had a line

#MAYBE_PEERLESS_KAFFE_AWT = awt-implementations

I uncommented it, compiled the kaffeawt.jar
library on PC and copied the resulting file
on my platform.

this allows java to load the library starting it

# nano-X & nanowm & /usr/local/kaffe/bin/kaffe
-Dkaffe.awt.nativelib=nanoxawt
-Xbootclasspath/p:/home/AMDgiammy/kaffeawt.jar Hello


Now it stops with the following errors, which I'm
investigating.

thank for the help to now
giammy


# nano-X & nanowm & /usr/local/kaffe/bin/kaffe
-Dkaffe.awt.nativelib=nanoxawt
-Xbootclasspath/p:/home/AMDgiammy/kaffeawt.jar Hello
createfont: (height == 0) found builtin font System (0)
createfont: (height == 0) found builtin font System (0)
createfont: (height == 0) found builtin font System (0)
createfont: (height == 0) found builtin font System (0)
java.lang.ExceptionInInitializerError
caused by: java.lang.NullPointerException
   at java.awt.Toolkit.fntInitFont (Toolkit.java:native)
   at java.awt.Font.<init> (Font.java:79)
   at java.awt.Defaults.<clinit> (Defaults.java:447)
   at java.awt.Window.<init> (Window.java:35)
   at java.awt.Window.<clinit> (Window.java:27)
java.lang.NullPointerException
   at java.awt.Toolkit.fntInitFont (Toolkit.java:native)
   at java.awt.Font.<init> (Font.java:79)
   at java.awt.Defaults.<clinit> (Defaults.java:447)
   at java.awt.Window.<init> (Window.java:35)
   at java.awt.Window.<clinit> (Window.java:27)
nano-X: client closed socket: 9
Destroy client 9 resources
  Destroy font 1001
  Destroy font 1000
# Window list:
1(0),
Pixmap list:

GC list:

Font list:

Region list:

Image list:

Timer list:


--
Gianluca Moro             Visit  http://ilpinguino.altervista.org/
giangiammy at yahoo.com      MyBlog http://blog.libero.it/giangiammy/

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the kaffe mailing list