Link to home
Start Free TrialLog in
Avatar of Dan_Shule
Dan_Shule

asked on

Exception in thread "main" - invalid END header

Do you know why would I get the following exception:

prompt> java -jar c06-snmpv1-trap-app-r1.jar -host 172.21.4.20
Exception in thread "main" java.util.zip.ZipException: invalid END header (bad central directory offset)
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:112)
        at java.util.jar.JarFile.<init>(JarFile.java:117)
        at java.util.jar.JarFile.<init>(JarFile.java:55)


I'm using java version "1.0beta2" on a Sun machine.
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dan_Shule
Dan_Shule

ASKER

You are correct. The file was corrupted.
What is the latest version and where can I get it?
Latest is 1.4, and can be obtained from java.sun.com.