Java Packaging Tool: Create Native Packages to Deploy Java Applications
summary
jpackage is a command-line tool that creates installable native packages for Windows (.exe, .msi), macOS (.dmg, .pkg) and Linux (.rpm, .deb) by bundling an application plus a Java runtime (it runs or accepts output from jlink). it produces shortcuts, file associations, multiple launchers and update metadata, can use a custom runtime image or embed the app into the runtime, and requires platform toolchains (Wix on Windows, Xcode on mac). it ships as incubating in JDK 14, supports JDK 11+, and does not provide cross‑platform single‑jar deployment or delivery hosting; a jnlp converter sample helps migrations.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 0:51What is Java Package
- 6:26Java Packager
- 9:59Example Use Cases
- 17:31Linux Specific Options
- 18:30Demos
- 26:00Status
related talks
32mjbang - Unleash the power of Java
16mReleasing at the speed of light
18mJBang, a Java file to rule them all? 💍
14mShare Your Java CLI Apps with Ease
44msbt-native-packager - package all the things
44mBuilding a Multiplatform SDKMAN in JavaFX
32m"Supercharge Your Java Development Experience with Open Source Tools"
28mPackaging & Deployment Options for Scala Applications / Services
