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?
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