native cmds and libs in the module library
David Holmes
david.holmes at oracle.com
Tue Jan 31 00:40:06 PST 2012
On 31/01/2012 6:04 PM, Alan Bateman wrote:
> 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.
I was thinking of the Library as being a "root" directory for
everything, but its just the location to place the %jigsaw-library file,
and the installed modules.
> 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.
Many thanks - and that worked without the IllegalArgumentException I
reported in separate email.
David
-----
> -Alan.
More information about the jigsaw-dev
mailing list