You can use the jlink tool to assemble and optimize a set of modules and their dependencies into a custom runtime image.| Oracle Help Center