Java Packaging Tool: Create Native Packages to Deploy Java Applications
summary
New tool jpackage (targeted for JDK 14) produces native installers and app images and bundles a Java runtime with either modular or classpath apps, creates .exe .msi .dmg .rpm .deb, and uses jlink to trim runtime so packaged apps are much smaller. Demos show Swing and JavaFX apps installing and running on Windows, macOS and Linux. It requires platform pack tools (WiX/Xcode/rpm/dpkg) so no cross-build, and signing/notarization and some features are still incubating.
AI-written summary · about
chapters (18)
- 0:00Intro
- 0:38What is Java Package
- 2:28Why do we need Java Package
- 4:53What is Jlink
- 9:50Java Package
- 11:29J Package
- 19:46Tool Provider
- 20:32JavaFX example
- 21:31JavaME example
- 23:06Custom JDK
- 24:13JDK 11 LTS
- 25:11Console App
- 25:44Swingset Demo
- 33:17Mac Demo
- 34:48Custom Runtime Demo
- 37:57Linux
- 39:27Debian Linux
- 42:54Wrapup
related talks
44mBuilding a Multiplatform SDKMAN in JavaFX
28mPackaging & Deployment Options for Scala Applications / Services
53mThe JDK Client Desktop : 2026 and Still Swinging
14mShare Your Java CLI Apps with Ease
44msbt-native-packager - package all the things
52mJavaFX Deployment
32mjbang - Unleash the power of Java
18mJBang, a Java file to rule them all? 💍
