"Bad class index 0" when compilling jar files
Morten Thorsen
mtt@cim.as
Fri Sep 7 05:43:00 GMT 2001
Hello
I have a jar file (compression = 0) containing multiple .class files. The
jar file is created on a win32 platform. When i try to compile the file
(Liab.jar) with this command line:
gcj -o Liab Liab.jar --main=Liab
it returns:
Liab.java:0: bad class index 0.
If I run the jar file with java runtime 1.3 i works.
I do not use awt or swing.
I have tried compilling a simple jar file containg to simple class files,
and that works fine.
My gcc version is 2.96.
Regards Morten Thorsen
More information about the Java
mailing list