Comments on jpackage (JEP 343)

Sverre Moe at
Tue Sep 17 08:25:40 UTC 2019

I have built many times with the new jpackage, but actually just now tried
to install the package built by it.

The new jpackage adds a lot of Requires to the built RPM package. We had
the same problem with the old javapackager. Its default RPM spec file had a
lot of Requires that made it difficult for us to install our package on
different Linux distributions. We circumvented this by packaging the
application image with the Gradle ospackage plugin for RPM and DEB packages.

Only the last one of these requires is actually in our RPM spec file
provided with --resource-dir.

I cannot even install the package on the system I built it, because it
cannot find
For OpenSUSE Leap 15.1, my Linux distribution there is no package that
provides the libavcodec-ffmpeg.

Are all these Requires actually necessary for running a JavaFX application
on Linux?
As mentioned we had packaged our JavaFX 8 application with Gradle ospackage
plugin without all these Requires, and it has worked fine on RPM Linux
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

More information about the core-libs-dev mailing list