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

jpackage fails with --app-image option on mac

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: internal
    • Fix Version/s: internal
    • Component/s: tools
    • Labels:

      Description

      feedback:
      --------------
      I think the description/definition of "application image" needs to be beefed up. The current JEP doesn't reference JEP 220 and it's not immediately obvious how they relate. The HelloWorld example in the JEP shows the runtime next to an app directory but this doesn't match what I am seeing when I use `jpackage create-image`. Instead I see the java runtime is generated into PlugIns/Java.runtime. It's not clear why there is a "PlugIns" directory.
      ----------------
      The JEP example shows the layout as it is on windows and linux.
      For possibly only historical reasons, on mac the runtime is in "Plugins/Java.runtime".
      Can we investigate if it is possible to change the mac layout to match linux and windows ?

      We also need to remove requirement that there be a "runtime" dir in an app image. (this breaks using --app-image on mac, since that is not what it is called.)

        Attachments

          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: