Liberica Native Image Kit is a utility for making native images for the JVM, letting you compile applications to executables using the GraalVM native-image compiler.
As a refresher on what a native image is
Native image is the executable binary file that contains your application, all its dependencies, and runtime components, allowing you to run your JVM based program on any supported configuration without the need for installing runtime or any setup. Native image is the easiest way to distribute your program and start it up faster.
Native images have several advantages over JVM interpreted applications:
- Almost instant startup time
- Optimized resource consumption and smaller static footprint
- Does not require JVM for execution
But why go for GraalVM over packaging your app with say Launch4J or javapackager?
full article on i-programmer:
https://www.i-programmer.info/news/80-java/15284-making-graalvm-based-executables-easy.html
Comments