Skip to Main Content

Java APIs

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

java.util.zip.ZipException: error in opening zip file

843810May 27 2004 — edited May 11 2007
I am executing my java application in our unix environment (aSolaris VM (build Solaris_JDK_1.2.2_10, native threads, sunwjit))nd getting an error

java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.open(Compiled Code)
at java.util.zip.ZipFile.<init>(Compiled Code)
at EdiStats.unzipAndGetEntries(Compiled Code)
at EdiStats.getLogsFromArchives(Compiled Code)
at EdiStats.main(Compiled Code)

Wehn I debugged the code, it gives me the desired result and exits with a return code 0. Can some one please tell me why this error is being generated?

Thanks for the help!

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 8 2007
Added on May 27 2004
11 comments
12,342 views