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

LinuxDebBundler.supported() should return false if not on Debian

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • internal
    • tools
    • Linux

      Customer reported that when running jpackage create-installer on linux (without --installer-type option) an exception is raised due to missing "dpkg-deb" tool, and jpackage returned error code 255.

      In these cases jpackage tries to build all available installer types for which supported(boolean isRuntimeInstaller) is true.
      The problem is caused by LinuxDebBundler.supported() returning true on any linux platform.

      LinuxDebBundler.supported() should return false if not on Debian Linux.

            herrick Andy Herrick (Inactive)
            herrick Andy Herrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: