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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 17
    • 16, 17
    • 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.

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

              Created:
              Updated:
              Resolved: