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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 17
    • Affects Version/s: 16, 17
    • Component/s: tools
    • b13
    • linux
    • Verified

      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.

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

              Created:
              Updated:
              Resolved: