Introduction
XZ for Java aims to be a complete implementation of XZ data compression in pure Java.
Features:
-
Single-threaded streamed compression and decompression
-
Random access decompression
-
LZMA2, Delta, and BCJ filters
-
Support for the old .lzma format in addition to .xz
-
Raw compressed streams without any file format headers
Threading is planned but has not been implemented.
The main source code is Java 8 compatible. Module support and speed optimizations are available for Java 9 and later as multi-release JAR.
Documentation
The API documentation was generated from the latest release with javadoc.
Releases
Version 1.10 was released on 2024-07-29. See the NEWS.md file for the summary of changes between versions.
The release files have been signed with this OpenPGP key.
Source code
176 KiB |
2024-07-29 |
||
153 KiB |
2021-03-12 |
||
149 KiB |
2018-01-04 |
||
149 KiB |
2017-12-29 |
||
136 KiB |
2016-11-27 |
||
129 KiB |
2014-03-08 |
||
129 KiB |
2013-09-22 |
||
121 KiB |
2013-05-12 |
||
117 KiB |
2013-01-29 |
||
117 KiB |
2012-07-05 |
||
117 KiB |
2011-10-22 |
Binaries
XZ for Java is available in Maven Central:
-
groupId
=org.tukaani
-
artifactId
=xz
Development
The Git repository is on GitHub:
git clone https://github.com/tukaani-project/xz-java
The repository is mirrored to git.tukaani.org as well.
Licensing
From the version 1.10 onwards, XZ for Java is under the BSD Zero Clause License (0BSD).
Version 1.9 and older are in the public domain.
Reporting bugs
Bugs can be reported on GitHub or via email or IRC. If a security issue has been discovered, please report it privately via email (encrypted if possible) or use the Report a vulnerability button in the security section on GitHub.