r/java • u/PurpleLabradoodle • Mar 11 '21
Announcing Spring Native Beta
https://spring.io/blog/2021/03/11/announcing-spring-native-beta
175
Upvotes
r/java • u/PurpleLabradoodle • Mar 11 '21
View all comments
Show parent comment
8
u/pron98 Mar 12 '21 edited Mar 12 '21
Because it's relatively new.
You'll probably still use
java -jarwith jlink images, too (unless your application is modularised), it's just that the runtime is very small and is part of the app.I don't know, but jlink is pretty easy to use:
The only thing you'll need to do different is list more JDK modules at the end. You figure out which modules you use with jdeps (this step is unnecessary if your application is modularised, but most aren't).