This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the GCJ project. See the GCJ home page for more information.


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

Jar files not accepted.



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