1

Possible Duplicate:
How can I read from a Winzip self-extracting (exe) zip file in Java?

I need to unzip self-extracting 7-zip exe files in java.

I tried looking through many posts which did not help me.

Any help would be appreciated!

Community
  • 1
  • 1
Eric Kim
  • 10,617
  • 4
  • 29
  • 31
  • Can't you just run them using Runtime exec? – Matt Harrison Mar 26 '12 at 19:52
  • You're assuming that a) the .exe is not malicious, b) he's running on a windows platform. Perhaps both are true... just sayin' – aioobe Mar 26 '12 at 19:54
  • 7zip [provides SDKs](http://www.7-zip.org/sdk.html) for C, C++, C# and Java and there is also a [3rd party port](http://sourceforge.net/projects/p7zip/) of 7zip for Java. – Eugene Kuleshov Mar 26 '12 at 19:56
  • Thanks eugene. I am checking the sdk but it seems like there is no example for it. Is there any way to provide an example? – Eric Kim Mar 26 '12 at 22:25

0 Answers0