/usr/bin/jlink
The jlink tool links a set of modules, along with their transitive dependencies, to create a custom runtime image.