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

jpackage app-launcher fails on linux when using JDK11 based runtime

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 16, 17
    • Fix Version/s: 17
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b13
    • OS:
      linux
    • Verification:
      Verified

      Description

      This issue is similar to JDK-8251988

      JDK11 has libjli.so in the directory `lib/jli` instead of `lib`. However, the resulting app-launcher from jpackage looks for the file in `lib` directory and therefore fails.

      Fix
      ----
      The fix is very similar to JDK-8251988 where we also look for the file in the old directory structure.

      Workaround
      -----------------
      Once a JDK 11 runtime is created using jlink, manually copy `libjli.so` from `lib/jli` into `lib` directory. Then pass this runtime to jpackage.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              asemenyuk Alexey Semenyuk
              Reporter:
              abagarwal Abhinay Agarwal
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: