Olá,
aqui estou novamente para ver se alguem já passou pelo mesmo
problema.
:?:
Estou tentando assinar um arquivo JAR meu mas está dando o seguinte erro :
C:\Documents and Settings\gian.frick\Desktop\Documentos Serviço\Backup\fumo.ear>
jarsigner -keystore C:\java\Sun\j2eeAppServer\jdk\jre\lib\security\cacerts -sign
edjar C:\java\RemontagemJar.jar c:\java\RemontagemJar.jar appRe
Enter Passphrase for keystore: changeit
Enter key password for appRe: 123456
Exception in thread "main" java.lang.InternalError: jzentry == 0,
jzfile = 10555864,
total = 54,
name = c:\java\RemontagemJar.jar,
i = 1,
message = couldn't read LOC header
at java.util.zip.ZipFile$2.nextElement(ZipFile.java:321)
at sun.security.tools.JarSigner.getManifestFile(JarSigner.java:985)
at sun.security.tools.JarSigner.signJar(JarSigner.java:523)
at sun.security.tools.JarSigner.run(JarSigner.java:139)
at sun.security.tools.JarSigner.main(JarSigner.java:53)
Alguém já passou por esse erro, tem alguma ideia do que seja ou como posso fazer para não acontecer isso?
Obrigado a todos desde já.