jigsaw build products

Mandy Chung mandy.chung at oracle.com
Tue May 4 13:26:51 PDT 2010


In the new modules world, new module images [1] are introduced in the 
jdk build.  This note summarizes the images you can build in the jigsaw 
repo:

1) Build standard (legacy) images (j2sdk-image, j2re-image)
   $ make all
  
This will use the BOOTDIR as the boot image to build the standard jdk.

2) Build standard (legacy) images with SKIP_BOOT_CYCLE=false
   $ make all SKIP_BOOT_CYCLE=false

This will first create a boot image by building the standard jdk (as in 
#1).   j2sdk-image built in the first cycle will be used as the BOOTDIR 
to build the jdk in the second cycle.

3) Build module images (jre-base-image, jdk-base-image, 
jre-module-image, jdk-module-image)
   $ make modules

This will use the BOOTDIR as the boot image to build the module images.

4) Build module images with SKIP_BOOT_CYCLE=false
   $make modules SKIP_BOOT_CYCLE=false

This will first create a boot image by building modular jdk (as in #3). 
  jdk-module-image built in the first cycle will be used as the BOOTDIR 
to build the module images in the second cycle.

[1] http://mail.openjdk.java.net/pipermail/jigsaw-dev/2010-March/000653.html




More information about the jigsaw-dev mailing list