biss-awt with Kaffe?

Magnus Therning etrius at hem2.passagen.se
Thu Nov 27 23:31:12 PST 1997


I'm not at all familiar with Java, but from what I read I thought it
might be a language worth trying. I'm using a RedHat 4.2 distribution
of Linux on a 486.

I've gotten the kaffe-0.91 packages. Compilation and setup has gone
smooth, but I can't get the attached java source to run. Compilation
(using guavac 1.0) goes without error, but when I run it ("kaffe
GUIWindow") this is the result:

Failed to locate native function:
        java/awt/Toolkit.getFontPeer(Ljava/lang/String;I)Ljava/awt/peer/FontPeer;
java.lang.UnsatisfiedLinkError
        at java/awt/Font.<init>(119)
        at biss/PackageProperties.getFont(158)
        at biss/awt/Awt.initFonts(318)
        at biss/awt/Awt.<clinit>(153)
        at biss/awt/BarMenu.<clinit>(36)
        at biss/awt/kernel/Peer.<init>(line unknown, pc 0x82858b5)
        at biss/awt/kernel/Toolkit.createFrame(line unknown, pc 0x8270e06)
        at java/awt/Frame.addNotify(139)
        at java/awt/Window.pack(115)
        at GUIWindow.main(100)

Is this a setup problem? In the source README it said something about
awt not working (thought it only was in regard to appletviewer), is
this a result of that?

This is a list of the libraries in /usr/local/lib :

libkaffe_agent.so         libkaffe_net.so.0.91
libkaffe_agent.so.0.91    libkaffe_vm.so
libkaffe_bissawt.so       libkaffe_vm.so.0.91
libkaffe_bissawt.so.0.87  libkaffe_zip.so
libkaffe_native.so        libkaffe_zip.so.0.91
libkaffe_native.so.0.91
libkaffe_net.so

Could someone please help me with this?

-- 
Magnus Therning ( etrius at hem2.passagen.se )
http://hem2.passagen.se/etrius/
PGP public-key via finger (magus at pinya.husaren.sgs.student.gu.se)
               and WWW




More information about the kaffe mailing list