Preview builds of Jigsaw available
Alan Bateman
Alan.Bateman at oracle.com
Thu May 10 07:02:15 PDT 2012
On 10/05/2012 13:24, Paul Sandoz wrote:
> Hi,
>
> Great stuff.
>
>> *JDK base image + jmod packages*: This download contains a minimal
>> "base" runtime and a directory of jmod packages with the JDK modules.
>> The jmod packages can be installed directly via the "jmod install"
>> command, or added to a file or http based module repository and
>> installed automatically when required.
>
> Any example on how to do the last part of the above?
We should create a web page with instructions on how to get going (in
addition to the existing Quick Start page).
In brief, assuming you have a http server to serve up a module
repository then the tool to create and manage the module repository is
jrepo. So on the "server" side then you create and populate a module
repository with:
$ jrepo myrepo create
$ jrepo myrepo add jigsaw-pkgs/jmod/*.jmod
On the client/device side you start with jre-base-image and use jmod to
associate the module library with the module repository on the http
server, eg:
$ jmod add-repo http://server/myrepo
Once you've got this association setup then it means that "jmod install"
can download and install from the module repository, including resolving
prerequisites.
There is also support for repositories on the file system (add-repo
allows you to specify a file path or file URL), which is useful for
testing purposes.
-Alan
More information about the jigsaw-dev
mailing list