[kaffe] classloader problem on blackfin

Jeff Ramin ramin at berbee.com
Wed Aug 20 14:23:41 PDT 2008


Hi folks.

I'm trying to get kaffe to run on an ADSP-BF536 board, and I'm getting complaints
from the classloader. I'm just trying to run "HelloWorld" via:

kaffe.flt -v -Xbootclasspath:/kaffe/rt.jar:/kaffe/kaffe-vminterface.jar HelloWorldApp

I'm using kaffe-1.1.8. I tried 1.1.9, but it's dependence on glib-2.0 threw a wrench
into that.

Output:
< much deleted >
Loading java/io/File.class(/kaffe/rt.jar) [compressed]
Loading java/util/zip/ZipFile.class(/kaffe/rt.jar) [compressed]
Loading java/util/zip/ZipConstants.class(/kaffe/rt.jar) [compressed]
Loading java/util/Properties.class(/kaffe/rt.jar) [compressed]
Loading java/util/Hashtable.class(/kaffe/rt.jar) [compressed]
Loading java/util/Dictionary.class(/kaffe/rt.jar) [compressed]
Loading gnu/classpath/VMSystemProperties.class(/kaffe/rt.jar) [compressed]
Loading java/util/Hashtable$HashEntry.class(/kaffe/rt.jar) [compressed]
Loading java/lang/UnsatisfiedLinkError.class(/kaffe/rt.jar) [compressed]
Loading java/lang/ExceptionInInitializerError.class(/kaffe/rt.jar) [compressed]
Internal error: caught an unexpected exception.
Please check your CLASSPATH and your installation.
java/lang/NullPointerException
?? at java.lang.VMThrowable.fillInStackTrace (VMThrowable.java:native)
?? at java.lang.Throwable.fillInStackTrace (Throwable.java:498)
?? at java.lang.Throwable.<init> (Throwable.java:159)
?? at java.lang.Error.<init> (Error.java:81)
?? at java.lang.LinkageError.<init> (LinkageError.java:72)
?? at java.lang.ExceptionInInitializerError.<init> (ExceptionInInitializerError.java:97)
?? at java.lang.ClassLoader.getSystemClassLoader (ClassLoader.java:799)
Abort


I've google for a solution, but haven't found one. Any thoughts?

Thanks!


-- 
Jeffrey Ramin
Berbee
ramin at berbee.com
608.298.1024




More information about the kaffe mailing list