Self-Contained Applications, built in Java

jlink Yes, this is possible with jlink (JEP 282), but all of your code and your dependencies need to be modular JARs (i.e. ones with module-info.class). It works like this: jlink –module-path $JAVA_HOME/jmods:mods –add-modules your.app –launcher launch-app=your.app –output your-app-image In detail: –module-path lists the folders that contain modules – this needs to include the platform … Read more