Reputation: 6127
Since java 9 I can use jlink to create a custom Java runtime image that contains all modules required for my application, and only them.
This can serve as a kind of static linking tool for Java, reducing the chance of ClassNotFoundException occurring due to a missing, moved or deleted library.
Is there a way to perform this kind of static link to only package the user defined modules as one unit without creating a JRE runtime image?
Upvotes: 0
Views: 233