Jar files not accepted.

Jean-Paul Le Fevre J-P.LeFevre@cea.fr
Wed May 5 08:01:00 GMT 1999

It happens that a jar file is not accepted by gcj on my Linux box.

If I try something like :
gcj --main=Hello -o Hello my_classes.jar

I got a error :
my_classes.jar:0: Not a valid Java .class file

If I replace the jar by *.class it works fine.

The command jar is the one provided with Linux_JDK_1.2_pre-release-v1.


Jean-Paul Le Fevre                      http://www.multimania.com/lefevre
E-mail : Jean-Paul.LeFevre@cea.fr       Tel : (33) [0]1 69 08 74 50

More information about the Java mailing list