RFR: 8156499 Update jlink to support creating images with modules that are packaged as multi-release JARs

Mandy Chung mandy.chung at oracle.com
Mon Aug 22 22:01:23 UTC 2016


> On Aug 22, 2016, at 2:56 PM, Steve Drach <steve.drach at oracle.com> wrote:
> 
> Is a jar tool that takes a -d option lurking somewhere?  The latest one I have does not have that option.

It’s in jdk-9+132 and has been in jdk9/dev for 1.5 weeks (see JDK-8136930).  It was -p previously.

$ jar -h   
Usage: jar [OPTION...] [ [--release VERSION] [-C dir] files] …
:
:

 Main operation mode:

  -c, --create               Create the archive
  -i, --generate-index=FILE  Generate index information for the specified jar
                             archives
  -t, --list                 List the table of contents for the archive
  -u, --update               Update an existing jar archive
  -x, --extract              Extract named (or all) files from the archive
  -d, --print-module-descriptor  Print the module descriptor

:


More information about the jigsaw-dev mailing list