Adam Brown
12/26/2025, 8:43 AMאליהו הדס
12/26/2025, 11:08 AMMichael Paus
12/26/2025, 11:08 AMPHondogo
12/26/2025, 11:11 AMAdam Brown
12/26/2025, 9:38 PMAdam Brown
12/26/2025, 9:38 PMAdam Brown
12/26/2025, 9:38 PMAdam Brown
12/26/2025, 9:39 PMAdam Brown
12/26/2025, 9:40 PMChrimaeon
12/26/2025, 9:54 PMAdam Brown
12/26/2025, 9:55 PMChrimaeon
12/26/2025, 9:56 PMAdam Brown
12/26/2025, 9:57 PMMichael Paus
12/27/2025, 8:07 AMAdam Brown
12/28/2025, 7:08 AMMichael Paus
12/28/2025, 9:57 AMCan I create a Linux .appImage with Java's jpackage tool?
No,
jpackage cannot directly create a Linux .AppImage file.
While jpackage has a command-line option --type app-image, it refers to a predefined directory structure (an uncompressed folder) containing your application and a bundled Java runtime, rather than the self-contained .AppImage executable format.
Supported Formats (2025)
As of late 2025, jpackage supports the following native Linux formats:
Debian packages (.deb)
RPM packages (.rpm)
How to Create an AppImage for Java
To create a true .AppImage, you must use jpackage in conjunction with external tools:
Generate a directory image: Run jpackage --type app-image to create the initial folder structure that includes your JARs and a customized Java runtime.
Prepare an AppDir: Follow the AppImage packaging guide to structure this folder (often called an AppDir). You will need to add a .desktop file, an icon, and an AppRun script that points to your application's executable.
Use appimagetool: Use the official appimagetool to package the directory into a single .AppImage file.
Alternatively, you can use specialized third-party tools like Conveyor or JReleaser which automate the creation of AppImages for Java applications.
If you should know of a script or something like that to automatically do the additional steps, I'd be interested to hear about it. I don't use Linux, so I can't try it myself.