[kaffe] ClassFormatError

Pinaki Mukherjee pinaki2003 at yahoo.com
Mon Oct 4 21:53:39 PDT 2004

I am getting the following error message while trying to run specJVM98 benchmark programs in Kaffe.
java.lang.ClassFormatError: spec/benchmarks/_201_compress/Main (wrong name: Main)
   at java.lang.ClassLoader.defineClass0 (ClassLoader.java)
   at java.lang.ClassLoader.defineClass (ClassLoader.java:179)
   at java.security.SecureClassLoader.defineClass (SecureClassLoader.java:32)
   at kaffe.lang.AppClassLoader$DirSource.findClass (AppClassLoader.java:81)
   at kaffe.lang.AppClassLoader.findClass (AppClassLoader.java:291)
   at java.lang.ClassLoader.loadClass (ClassLoader.java:142)

I checked the first bytes of the class file. It's CAFEBABE in hex. What can be wrong?

Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://kaffe.org/pipermail/kaffe/attachments/20041004/ef955f23/attachment-0006.htm 

More information about the kaffe mailing list