Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

jarsigner: invalid END header (bad central directory offset)

843802Jan 23 2007 — edited Jan 24 2007
I signed a jar (which is a standalone application) with:
C:\>jarsigner -keystore myKeystore myJar.jar

I verified it with
C:\>jarsigner -verbose -verify myJar.jar
It was OK.

I updloaded it to my web site via ftp.

When I try to to downlod it via Java Web Start, I get a java.util.zip.ZipException.

If I try to verify it again with jarsigner, I get:
jarsigner: java.util.zip.ZipException: invalid END header (bad central directory offset).

Can anyone tell me where the jar file may have been corrupted ?

Thanks a lot

Norberto
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 21 2007
Added on Jan 23 2007
2 comments
5,992 views