Get the latest tech news
Creating Runtime and Application Images with JLink
Learn how to use the command line tool `jlink` to create custom-made runtime images or self-contained application images.
services are not bound by default - we'll see further below what to do about that optional dependencies are not resolved - they need to be added manually automatic modules are not allowed - we'll discuss this when we get to application images That means, when using a launcher, you can't ad-hoc configure the java command, for example to add additional services as we discussed earlier. While the bytecode your application and library JARs contain is independent of any operating system (OS), it needs an OS-specific Java Virtual Machine to execute them - that's why you download JDKs specifically for Linux, macOS, or Windows (for example).
Or read this on Hacker News