This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
"Bad class index 0" when compilling jar files
- To: java at gcc dot gnu dot org
- Subject: "Bad class index 0" when compilling jar files
- From: "Morten Thorsen" <mtt at cim dot as>
- Date: Fri, 07 Sep 2001 14:43:17 +0200
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