This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

"Bad class index 0" when compilling jar files


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]