java.util.zip problems (ZIP Problems)

Status
Not open for further replies.

KornNut

In Runtime
Messages
226
I need to automically unzip files for a large programming project (we are using your basic ant tools).

I can unzip files on my own. However, whenever I try to build our project and download from the proper repositories, I am getting a error saying that I cannot unzip files due to my java.util.zip function.

Any ideas?
 
I have looked around google groups and a number of different resources.

Some people have experienced the same problems before, but that was due to:

1) corrupt zip file
2) java.util.zip (which is off of the java sdk) does not support the encryption
3) It does not recognize files that are from another OS.

I have tried to diagnose all of these possibilities and still no help.

Any ideas?


<<EDIT: Would it possibly give me the "unable to open zip" error if the zip file doesn't exist? It is not telling me which zip file it is refferring to. That is all that ant will tell me. >>
 
All right, I was wrong.

It was possibility #2 (see above).

I was using Java SDK 1.4.2

The project that I was trying to implement on my machine has yet to be tested with Java 1.5.

However, I updated to v1.5 and the java.util.zip worked perfectly.

My guess is that java sdk 1.4 does not support all of the latest zip encryptions.
 
Status
Not open for further replies.
Back
Top Bottom