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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: