Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8233449

Various problems with DEB or RPM packages build by jpackage

XMLWordPrintable

    • x86_64
    • linux_ubuntu

      ADDITIONAL SYSTEM INFORMATION :
      Ubuntu 18 LTS
      Fedora 30
      OpenJDK 11 for build
      OpenJDK 14 for jpackage

      A DESCRIPTION OF THE PROBLEM :
      I've been experimenting with using jpackage on my small open source JavaFX app called PDF Decorator.

      I've build a DEB package on Ubuntu 18 LTS and a RPM on Fedora 30. Both suffer from two problems:
      a) a short cut to run my application is no where to be found in Gnome Shell
      b) uninstalling those packages results in an error

      Furthermore on Fedora opening the RPM by double clicking it results in an error shown in the software center app.

      You can find out how I've build my packages in this upcoming article on my blog:

      https://walczak.it/blog/distributing-javafx-desktop-applications-without-requiring-jvm-using-jlink-and-jpackage

      you'll also find screen shots and detailed error messages there.

      The full source code of my JavaFX app is available at: https://bitbucket.org/walczak_it/pdf-decorator/src/master/

      If you need any help in testing with jpackage on linux please let me know: adam@walczak.it

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      see:
      https://walczak.it/blog/distributing-javafx-desktop-applications-without-requiring-jvm-using-jlink-and-jpackage


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      installed app accessible from Gnome Shell
      ACTUAL -
      no short cut + errors with uninstalling

      ---------- BEGIN SOURCE ----------
      https://bitbucket.org/walczak_it/pdf-decorator/src/master/
      ---------- END SOURCE ----------

      FREQUENCY : always


            asemenyuk Alexey Semenyuk
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: