Java Runtime Environment (JRE) Minification Tool
Hummingbird can take a regular JRE and shrink it down to just the features and functionality needed by your app.
The standard Java 8 JRE is almost 200 megabytes in size. Hummingbird currently can reduce the size of a JRE by almost 50 megabytes. Soon Hummingbird will be able compress it all the way down to just over 30 megabytes!
- Download the latest version and extract tar file
- Run hummingbird from command line and provide location of a JRE:
[/opt/hummingbird]$ bin/hummingbird /opt/java/1.8.0_144/jre
Notes:
- The JRE specified will be updated in place.
- The JRE can then be tar'ed up and redistributed with any application.
- v0.1.0 - Support removing all unnecessary files
- v0.2.0 - Support compressing jar files
- v0.3.0 - Support removing unnecessary files from jar files
- v0.4.0 - Support removing unnecesarry feature files
- v1.0.0 - Support predefined compression levels
- v1.1.0 - Support removing features based on trace files