gngr icon indicating copy to clipboard operation
gngr copied to clipboard

Compress jar using pack200 / zopfli

Open hrj opened this issue 10 years ago • 4 comments

This reduces file sizes by a decent amount:

pack200 -r -G -O compressed.jar gngr-0.3.8.jar

hrj avatar Jul 19 '15 05:07 hrj

Note: this issue could be superseded by https://github.com/UprootLabs/gngr/issues/6

vn971 avatar Oct 11 '15 18:10 vn971

Yes, it would be nice if the build process did this automatically.

hrj avatar Oct 12 '15 05:10 hrj

Another option worth evaluating is the zopfli compressor. According to this thread, it should be possible to use AdvanceComp on jar files.

hrj avatar Nov 02 '15 04:11 hrj

There's a pure java Zopfli compressor too: CafeUndZopfli

hrj avatar Nov 02 '15 04:11 hrj