jigsaw for Mac OSX

Mandy Chung mandy.chung at oracle.com
Fri Apr 6 15:04:27 PDT 2012


On 4/6/2012 2:32 PM, Henri Gomez wrote:
> jigsaw built on OSX (Lion) :

Cool!

> openjdk version "1.8.0-jdk8-b32"
> OpenJDK Runtime Environment (build 1.8.0-jdk8-b32-20120406)
> OpenJDK 64-Bit Server VM (build 24.0-b05, mixed mode)
>
> I plan to package it now in DMG but layout is not familiar.
>
> --
>
> JObjC.build		bundles			gennativesrc		jdk-base-image		moduleinfo		stable_bridge_metadata
> JObjC.dst		classes			gensrc			jdk-module-image	modules			submodules
> bin			corba			hotspot			jigsaw-pkgs		sample			tmp
> bridge_metadata		demo			impsrc			jre-base-image		sanityCheckMessages.txt
> btbins			democlasses		include			jre-module-image	sanityCheckWarnings.txt
> btclasses		demos-bundles		jaxp			langtools		source-bundles
> btjars			docs			jaxws			lib			source_tips
>
> ---
>
> How should we arrange it ?

jdk-module-image is the full modular JDK (equivalent to j2sdk-image that 
you get from jdk8 build).

> jdk-base-image + jigsaw-pkgs under a same location ?
>
> OSX will require extra files like Info.plist

I would suggest to package the full JDK, i.e. jdk-module-image, as a 
start.   With that, you can start creating modules.

jre-base-image is the minimal base image that contains only the jdk.base 
module.   The other platform modules (jmod files) are under 
jigsaw-pkgs/jmod directory that you can install them into the 
jre-base-image using the jmod command, e.g.
   $ jmod install jdk.jaxp at 8-ea.jmod

FWIW. We're in the process of making the jigsaw developer preview 
binaries available for download and that would probably include these 
jmod files.

Mandy




More information about the jigsaw-dev mailing list