-4

How can I unzip 7-zip and tar archives in Java? Without cmd commands.

I tried to use Zip4j but it can unzip only Zip. And I need 7z and tar.

What library (not heavy) can I use? Or how can it be done with native Java-library?

Thank you.

toto
  • 91
  • 2
  • 2
  • 4

1 Answers1

0

Did you look into java.util.zip.GZIPInputStream ?