Native JDK9 Application Bundles
With JDK9 we can dramatically reduce the size of self-contained application bundles. Javapackager does not optimize for minimal runtime size. JLink on the other hand does not create native launchers (only launch scripts). This can be problematic, e.g., for app distribution to the Windows AppStore. Combining both commands results in optimal runtime images. In this video we create an optimal application bundle:
You can get the sample code from GitHub: https://github.com/miho/NativeJDK9AppTemplate
Stay tuned and follow me on Twitter
Leave a Reply