2018-10-21

Java 9 : jlink

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.

No comments:

Post a Comment