• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Zip file cretaed using java not opening

 
Kaustav Ganguly
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

I created a zip file using java. I have attached the code below. But when I am trying to open it by using 7zip or windows extract all feature they are not able to open the file.
Is it not possible to open zip files created in java by using an archiving tool ? Do I need to write a java code to unzip it ?



Thanks
Kaustav
 
Rob Spoor
Sheriff
Pie
Posts: 20493
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you close aZipOutputStream itself after you've written and closed all separate entries?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic