Skip to content

Java Runtime Environment (JRE) Minification Tool

Notifications You must be signed in to change notification settings

abrayall/hummingbird

Repository files navigation

Hummingbird

Java Runtime Environment (JRE) Minification Tool

Overview

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!

Usage

  1. Download the latest version and extract tar file
  2. 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.

Schedule

  • 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