[kaffe] kaffe and wordbiz

Ryan T. Sammartino ryan.sammartino at gmail.com
Sun Oct 10 11:20:52 PDT 2004


Wordbiz is a Scrabble playing program available at 
http://www.isc.ro/linux/download.html.  When I try to run the jar file 
with kaffe, I get:

$ kaffe -jar ./wordbiz.jar
Can't access JAR file ``wordbiz.jar'': java.io.IOException: No such zip 
file wordbiz.jar

This despite the fact wordbiz.jar is definitely right there:

$ ls wordbiz.jar
wordbiz.jar


I know that wordbiz.jar is a valid JAR file from the following tests:

$ file wordbiz.jar
wordbiz.jar: Zip archive data, at least v2.0 to extract
$ gij-3.4.1 -jar wordbiz.jar
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit:
    at java.awt.Toolkit.getDefaultToolkit() (/usr/lib/libgcj.so.5.0.0)
    at bo.bo(java.lang.String) (Unknown Source)
    at wordbiz.wordbiz() (Unknown Source)
    at wordbiz.main(java.lang.String[]) (Unknown Source)
Caused by: java.lang.ClassNotFoundException:
    at java.lang.Class.forName(java.lang.String, boolean, 
java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
    at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at java.awt.Toolkit.getDefaultToolkit() (/usr/lib/libgcj.so.5.0.0)
    ...3 more

So GNU Java was able to run it before dying unable to find AWT.


Any ideas on how I get wordbiz.jar to run with kaffe?




More information about the kaffe mailing list