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]
Other format: [Raw text]

Re: Compatibility with Sun's java


>>>>> "Andy" == Andy Pepperdine <andy@pepperdine.eclipse.co.uk> writes:

>> > andrew@laptop:~/Dev/Products/Sokuku/1.0-3$ gij -jar Sokuku-en-1.0-3.jar
>> > Failed to load Main-Class manifest attribute from Sokuku-en-1.0-3.jar
>> > [/quote]

Marco> You probably forgot to add the Main-Class attribute to the manifest...

Andy> If I unpack the archive, and look in META-INF/MANIFEST.MF I find
Andy> the line:
Andy> Main-Class: Sokuku.Main
Andy> the same as when built with Sun's java.

Offhand I don't know.  I think this has worked for a long time... but
perhaps there is some bug we fixed between 4.0 and today.

Tom


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