I am trying to unzip a password protected zip using java.util.zip package. it throw an error "java.util.zip.ZipException: encrypted ZIP entry not supported".
is there any specific classes to unzip password protected zip file in java?
In regards to the discussion Mark linked to, the built-in ZIP classes in the class library do not support password-protected ZIP files (and I'm not aware of a Java library that does).
On the other hand, the ZIP File Format Specification is well defined, so anyone with 'some' time to kill could extend the standard ZipInputStream / ZipOutputStream pair to support encryption. Java crypto supports AES, so that's like a head start Of sorts. [ August 25, 2008: Message edited by: Jelle Klap ]
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.