Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 08-02-2006, 04:40 PM   #1 (permalink)
 
True Techie

Join Date: Aug 2004

Posts: 223

KornNut

Default java.util.zip problems (ZIP Problems)

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?
__________________
3.0 GHz P4 w/ Hyper Threading
1 Gig DDR RAM
9800 Pro ATI Radeon
7.1 Soundblaster
DVD Burners are a must!
19\'\' Samsung LCD
______________________________

In this world gone mad, we won\'t spank the monkey. The monkey will spank us!
KornNut is offline  
Old 08-03-2006, 02:48 PM   #2 (permalink)
 
True Techie

Join Date: Aug 2004

Posts: 223

KornNut

Default

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. >>
__________________
3.0 GHz P4 w/ Hyper Threading
1 Gig DDR RAM
9800 Pro ATI Radeon
7.1 Soundblaster
DVD Burners are a must!
19\'\' Samsung LCD
______________________________

In this world gone mad, we won\'t spank the monkey. The monkey will spank us!
KornNut is offline  
Old 08-03-2006, 03:07 PM   #3 (permalink)
 
True Techie

Join Date: Aug 2004

Posts: 223

KornNut

Default

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.
__________________
3.0 GHz P4 w/ Hyper Threading
1 Gig DDR RAM
9800 Pro ATI Radeon
7.1 Soundblaster
DVD Burners are a must!
19\'\' Samsung LCD
______________________________

In this world gone mad, we won\'t spank the monkey. The monkey will spank us!
KornNut is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On