trouble with Kaffe + ICQJava under Linux

Roger Espel Llima espel at iAgora.com
Wed Jul 15 10:05:18 PDT 1998


I've tried to run ICQJava with Kaffe under Linux, and it doesn't work.
The setup is: Linux Redhat 5.1, Kaffe 1.0.b1 (RPM for RedHat dowloaded
from the transvirtual.com site), and classes.zip from JDK 1.1.6v1.2.

without classes.zip, the result is:

$ echo $CLASSPATH
/home/espel/java/ICQJava/ICQ.jar:/home/espel/java/ICQJava:/usr/local/share/kaffe/Klasses.jar:/usr/local/share/kaffe/pizza.jar
$ kaffe Mirabilis.ICQ.NetAware.CNetAwareApp -path ~espel/java/ICQJava 
java.lang.ClassNotFoundException: sun/audio/AudioPlayer
        at Mirabilis/ICQ/NetAware/CNetAwareApp.main(line unknown, pc 0x846c9df)

and with classes.zip:

$ vared CLASSPATH 
/home/espel/java/ICQJava/ICQ.jar:/home/espel/java/ICQJava:/usr/local/share/kaffe/Klasses.jar:/usr/local/share/kaffe/pizza.jar:/home/espel/java/classes.zip
$ kaffe Mirabilis.ICQ.NetAware.CNetAwareApp -path ~espel/java/ICQJava 
java.lang.NullPointerException
        at java/awt/MediaTrackerEntry.imageUpdate(286)
        at java/awt/Image.stateChange(527)
        at java/awt/Image.createFromFile(382)
        at java/awt/Image$Initializer.startProduction(259)
        at java/awt/Image$Initializer.run(191)
        at java/lang/Thread.run(122)

A strace of the kaffe ends with this (before printing the "null pointer
exception" error message):

sigaction(SIGVTALRM, {0x40036310, [], 0}, NULL) = 0
sigprocmask(SIG_UNBLOCK, [VTALRM], NULL) = 0
sigreturn()                             = ? (mask now [])
stat("/home/espel/java/ICQJava//Images/anim.gif", {st_mode=0, st_size=0, ...}) = 0
--- SIGSEGV (Segmentation fault) ---


I have no trouble at all running a "Hello World" app on the same setup.

ICQJava is a Java ICQ client, downloaded from www.mirabilis.com

-- 
Roger Espel Llima, espel at iAgora.com


More information about the kaffe mailing list