3 ms·
Is that still true when distributing libraries?
by maksut 2y ago
Is that still true when distributing libraries?
- pron 2y agoIf you distribute libraries as jmod files, which few libraries do (in that case, jlink would automatically extract the native libraries and place them in the appropriate location).
- brabel 2y agoAbsolutely not. jlink is used to distribute applications (it includes your code, the Java libs you use, i.e. their jars, and the trimmed-down JVM with the modules you're using so that your distribution is not so big - typically around 30MB). Java libraries are still obtained from Maven repositories via Maven/Gradle/Ant/Bazel/etc.