Compressing & Decompressing 7z file in java

user1728310 picture user1728310 · Oct 8, 2012 · Viewed 25.7k times · Source

I want to compress a file into zip, rar and 7z format using java code. Also I want to decompress these files at a specified location. Can anyone please tell me how to compress and decompress files using 7-zip in java?

Answer

user1728310 picture user1728310 · Dec 4, 2012

I have used : sevenzipjbinding.jar sevenzipjbinding-Allplatforms.jar

I am now able to decompress files using these jars.

Try this link for decompression: http://sourceforge.net/projects/sevenzipjbind/forums/forum/757964/topic/3844899