Can anyone show me the correct way to compress and decompress tar.gzip files in java i\'ve been searching but the most i can find is either zip or gzip(alone).
With TrueVFS extracting Tar.GZip archive is one-liner:
new TFile("archive.tar.gz").cp_rp(new File("dest/folder"));
But beware of dependencies issue.