Building a Minimal, Self-Contained Bootstrap JDK

Shea Levy shea at shealevy.com
Wed Aug 24 23:13:03 UTC 2011


Hello,

I am responsible for maintaining openjdk for the Nix Packages Collection 
(http://www.nixos.org/nixpkgs), a repository for the source-based 
package manager nix (http://www.nixos.org/nix). Currently, we are using 
the Oracle JDK 6 to bootstrap our openjdk-7 builds, but we would like to 
use openjdk-7 itself as a bootstrap compiler. What is the best way to 
build a minimal (only the tools/libraries/etc. needed to build openjdk, 
taking up the smallest size possible), self-contained (e.g. static 
linking) jdk?

Regards,
Shea Levy



More information about the build-dev mailing list