native cmds and libs in the module library

Alan Bateman Alan.Bateman at oracle.com
Tue Jan 31 00:04:28 PST 2012


On 31/01/2012 05:19, David Holmes wrote:
> So this may be the extra work you are referring to but I was surprised 
> to discover that doing:
>
> jmod create -L foo --natcmd bin --natlib lib
>
> didn't create foo/bin and foo/lib but rather created ./bin and ./lib
Right, because if you specify relative directories then they are 
relative to pwd.

If it helps then creating a custom image containing the system library 
then it can be done with steps such as:

mkdir -p image/lib
jmod create -L image/lib/modules --natcmd image/bin --natlib image/lib
jmod install -L image/lib/modules jdk.base at 8-ea.jmod

and that will give you a layout equivalent of the build's jre-base-image.

-Alan.



More information about the jigsaw-dev mailing list