I have ported the Mini LZO (version 2.03) compression utility in 'c' to pure java.
Initial version of the port is here.
You can try the example using this sample program
You may refer original Java-LZO version (done in way back 1999) here. In the Original only decompression is implemented.
Current ported java-minilzo-jar has implemented following methods: compression, decompression and decompression_safe. At present Compression & decompression of zero-filled-data and random-data is working properly. I will be adding more utilities and API for end-users shortly.
Many many thanks to Markus F.X.J. Oberhumer for his excellent minilzo.c (which is the base for current java implementation)