{"id":1379,"date":"2018-02-25T11:35:05","date_gmt":"2018-02-25T10:35:05","guid":{"rendered":"https:\/\/mihosoft.eu\/?p=1379"},"modified":"2018-02-26T00:12:05","modified_gmt":"2018-02-25T23:12:05","slug":"native-jdk9-application-bundles","status":"publish","type":"post","link":"https:\/\/mihosoft.eu\/?p=1379","title":{"rendered":"Native JDK9 Application Bundles"},"content":{"rendered":"<p>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:<\/p>\n\n<iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/2fWyhJ2nhjw\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen><\/iframe>\n\n<p>You can get the sample code from GitHub: <a href=\"https:\/\/github.com\/miho\/NativeJDK9AppTemplate\">https:\/\/github.com\/miho\/NativeJDK9AppTemplate<\/a><\/p>\n\n<p>Stay tuned and <a href=\"https:\/\/twitter.com\/intent\/user?screen_name=mihosoft\">follow me on Twitter<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8230;<\/p>","protected":false},"author":1,"featured_media":1383,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[13,129,21,145],"tags":[22,124,122],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/mihosoft.eu\/wp-content\/uploads\/2018\/02\/thumb.jpg","jetpack_shortlink":"https:\/\/wp.me\/p2P2yR-mf","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/posts\/1379"}],"collection":[{"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1379"}],"version-history":[{"count":4,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/posts\/1379\/revisions"}],"predecessor-version":[{"id":1385,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/posts\/1379\/revisions\/1385"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=\/wp\/v2\/media\/1383"}],"wp:attachment":[{"href":"https:\/\/mihosoft.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mihosoft.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}