Gonen I
Gonen I

Reputation: 6127

Java static linking of user modules without building a JRE runtime image

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

Answers (0)

Related Questions