I need to extract a zip file using java code. Using java.util.zip, I am unable to extract files in the exact directory structure as inside a zip file, I keep getting IOException: Parent of file is not a directory, please advice.
Asked
Active
Viewed 1,314 times
2 Answers
2
Here is some solution: How should I extract compressed folders in java?

Community
- 1
- 1

Martin Ždila
- 2,998
- 3
- 31
- 35
0
Create the appropriate directory before attempting to extract the file.

Ignacio Vazquez-Abrams
- 776,304
- 153
- 1,341
- 1,358