I have a jar file of size ~45MBs. I have used Pack200 to compress the jar file and then sign it with 3rd party certificate as follows :
pack200 --repack a.jar
jarsigner a.jar ... ..
pack200 a.jar.pack.gz a.jar
Using the above leads to an error as below (while launching applicaiont)
jarsigner: java.lang.SecurityException: SHA1 digest error for xyz.class
I need to use the pack200 compression as it will reduce the download time of jar to a great extent (after pack compression the jar size reduces to ~11MBs for ~45MBs).
Please help with this.
I am using java7u60
as runtime environment and JNLPs to lauch the JAR file.
Happy to provied any more informtion requried.