Does jlink work on exploded build?

Mandy Chung mandy.chung at oracle.com
Tue Jan 10 17:12:39 UTC 2017


> On Jan 10, 2017, at 6:29 AM, Wang Weijun <weijun.wang at oracle.com> wrote:
> 
> $ jlink --module-path ../build/windows-x64-debug/jdk/modules/ --add-modules jdk.jartool --output /tmp/jartool
> Error: java.lang.RuntimeException: Module jdk.jartool's descriptor returns inconsistent package set

jlink in the exploded build works if you specify the proper module path. The module path should be `images/jmods` where JMOD files are found because java.base and jdk.jartools contains more than classes such as executables, shared libraries, etc.

Mandy


More information about the jigsaw-dev mailing list