Part 2 of 2 in the series Automated Maven Build for Multiple Platforms
In the previous article I quickly showed how to use jlink. However, this JRE will only work for platform on which it was generated. So how can we build for Windows, Mac OS X and Linux?
Part 1 of 2 in the series Automated Maven Build for Multiple Platforms
The jlink tool is used to assemble and optimize a set of modules and their dependencies into a custom run-time image. It became part of the Java Platform with the advent of JPMS (which originated from Project Jigsaw) in Java 9, along with a number of other tools related to the new modular system.