Relative Content

Tag Archive for javamavenjavafxjlinkjpackage

Packaging cross-platform Appimages and DEB Packages in Linux missing dependencies

I have a JavaFX Application, and I’m using maven to distribute it. Currently, I first create a runtime image of my program with jlink, and then package it with jpackage.
However, if I package either a AppImage or a DEB it in a more updated linux distro (e.g. Arch or Debian Unstable/Trixie), and then try to run it in a stable distro (e.g Debian <13), it doesn’t run it, because of missing dependencies.
Here is a summarized version of my pom.xml, and what I’m currently doing to package my program:

Packaging cross-platform Appimages and DEB Packages in Linux missing dependencies

I have a JavaFX Application, and I’m using maven to distribute it. Currently, I first create a runtime image of my program with jlink, and then package it with jpackage.
However, if I package either a AppImage or a DEB it in a more updated linux distro (e.g. Arch or Debian Unstable/Trixie), and then try to run it in a stable distro (e.g Debian <13), it doesn’t run it, because of missing dependencies.
Here is a summarized version of my pom.xml, and what I’m currently doing to package my program: