-
Sub-task
-
Resolution: Delivered
-
P3
-
24, 25
-
generic
-
generic
Starting with JDK 24, `jlink --add-modules ALL-MODULE-PATH` option will require users
to set the module path via `--module-path` option. Prior to JDK 24,
`--add-modules ALL-MODULE-PATH` without `--module-path` can be used to create
an image with all JDK modules from `$JAVA_HOME/jmods`. In JDK 24, to create an image
using `ALL-MODULE-PATH`, it is required to explicitly set `--module-path`.
To create an image with all JDK modules, use
`jlink --add-modules ALL-MODULE-PATH --add-modules $JAVA_HOME/jmods` instead.
to set the module path via `--module-path` option. Prior to JDK 24,
`--add-modules ALL-MODULE-PATH` without `--module-path` can be used to create
an image with all JDK modules from `$JAVA_HOME/jmods`. In JDK 24, to create an image
using `ALL-MODULE-PATH`, it is required to explicitly set `--module-path`.
To create an image with all JDK modules, use
`jlink --add-modules ALL-MODULE-PATH --add-modules $JAVA_HOME/jmods` instead.