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

jpackage --runtime-image fails on mac when using JDK11 based runtime.

    XMLWordPrintable

    Details

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

      Description

      You cannot use --runtime-image with JDK11 based runtime on Mac.
      This worked in JDK14 and is broken in JDK15 and JDK16.
      The jpackage command will run, but the resulting applauncher will look for the jli lib in the wrong place (for JDK11)
      This library was moved from '<runtime>/lib/jli/libjli.dylib' in JDK11 to to '<runtime>/lib/libjli.dylib' in jdk12.
      After the refactoring of the native code we are no longer looking in both places.
      There is no such problem on Windows.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              herrick Andy Herrick
              Reporter:
              herrick Andy Herrick
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: