I guess the most simple explanation is that this is not a 7z Archive, have you tried the normal zip archives instead? (The 7zip program supports multiple formats)
-- https://Bernd.eckenfels.net ________________________________ Von: Dan Tran <[email protected]> Gesendet: Samstag, August 4, 2018 6:27 PM An: Commons Users List Betreff: Re: Unpacking VMDK via 7z here is the stack trace Caused by: java.io.IOException: Bad 7z signature at org.apache.commons.compress.archivers.sevenz.SevenZFile.readHeaders(SevenZFile.java:326) at org.apache.commons.compress.archivers.sevenz.SevenZFile.<init>(SevenZFile.java:241) at org.apache.commons.compress.archivers.sevenz.SevenZFile.<init>(SevenZFile.java:108) at org.apache.commons.compress.archivers.sevenz.SevenZFile.<init>(SevenZFile.java:262) Thanks -D On Fri, Aug 3, 2018 at 11:21 PM, Dan Tran <[email protected]> wrote: > Hi > > I have a vmware's vmdk file with no problem to unpack using my windows 7z > command > > however, common-compress error out at > > SevenZFile sevenZFile = new SevenZFile(my.vmdk.file) > > with "Bad 7z signature" error message > > am I missing something obvious? > > Thanks > > -D >
