Decompression fails with XZ for Java 1.1/1.2

2013-02-22
2013-05-30
  • Marko Koskelo
    Marko Koskelo
    2013-02-22

    I am trying to decompress .xz files I have created with 7Zip but they keep failing with 'org.tukaani.xz.CorruptedInputException: Compressed data is corrupt'. No matter what compression level or dictsize is used.

     
  • Lasse Collin
    Lasse Collin
    2013-02-23

    I cannot reproduce the problem myself so I would like to get a test file. Thanks.

     
  • Marko Koskelo
    Marko Koskelo
    2013-02-25

    Sorry, my bad. Tried to decompress using LZMA2InputStream while XZInputStream did the trink.