Operating System - HP-UX
1827516 Members
2731 Online
109965 Solutions
New Discussion

java 1.3 and java.util.zip.ZipException

 
Michael Cavedon
New Member

java 1.3 and java.util.zip.ZipException

I have a CD with the java archive file setup.jar on it. When I am using java 1.3.x and when I execute:

java -jar setup.jar

I am receiving:

Exception in thread "main" java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(Unknown Source) at java.util.jar.JarFile.(Unknown Source) at java.util.jar.JarFile.(Unknown Source)


If I use java 1.2 or copy setup.jar to a local disk then the command works correctly.

Why would 1.3 have an issue simply because it is a CD. Would 1.3 be trying to write something to the CD when trying to read the jar file?

Any help is appreciated.

Mike
cav