Interesting. Is the manifest intact? Maybe post the contents of your MANIFEST.MF from the generated JAR file, and perhaps there will be something screwy in there.
On Wed, Mar 27, 2013 at 10:43 PM, Marc Benstein <mbenst...@ultramain.com>wrote: > Joe, there is not an error when I try jar tf myjar.jar. I see the > contents just fine. > > On Wed, 2013-03-27 at 19:56 -0600, Joe Attardi wrote: > > Is the error just when you try to execute the JAR? What if you simply try > > to list its contents (jar tf myjar.jar)? > > > > > > On Wed, Mar 27, 2013 at 8:27 PM, Marc Benstein <mbenst...@ultramain.com > >wrote: > > > > > Howdy, > > > > > > Java 5 fails to execute jars created with Ant 1.9.0. Java 6 and 7 work > > > fine to execute the jar. > > > > > > The message I am seeing in Java 5 is "Invalid or corrupt jarfile" > > > > > > I have tried my target JVM of 1.5.0_06 on Windows 7 and Linux and I get > > > the same output. I have also tried 1.5.0_22 with the same results. > > > > > > Any help would be appreciated. > > > > > > Thanks > > > -- > > > Marc Benstein > > > > > > Ultramain Systems, Inc. > > > 8100 Lang Avenue NE > > > Albuquerque, NM 87109 > > > USA > > > > > > TEL 505.828.9000 > > > FAX 505.823.1841 > > > www.ultramain.com > > > > > > Confidentiality Notice: This email message and any files transmitted > with > > > it may contain confidential information intended only for the > person(s) to > > > whom this email is addressed. If you have received this email in error, > > > please notify the sender immediately by phone or email and destroy the > > > original message without making a copy. Thank you. > > > > > > > > > > > -- > Marc Benstein > > Confidentiality Notice: This email message and any files transmitted with > it may contain confidential information intended only for the person(s) to > whom this email is addressed. If you have received this email in error, > please notify the sender immediately by phone or email and destroy the > original message without making a copy. Thank you. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > -- *Joe Attardi* j...@attardi.net