This tool is used to select modules and create a smaller runtime image with the selected modules.
$> jlink --module-path mods/:$JAVA_HOME/jmods/ --add-modules com.packt --output img
Looking at the contents of the img folder, we should find that it has the bin, conf, include, and lib directories.
$> jlink --module-path mods/:$JAVA_HOME/jmods/ --add-modules com.packt --output img
Looking at the contents of the img folder, we should find that it has the bin, conf, include, and lib directories.
No comments:
Post a Comment