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

[macos] App does not run if installed with pkg

    Details

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

      OSX 10.15 Beta (19A582a)

      Description

      This issue is reproducible on macOS 10.15 (19A582a) with EA build 14-jpackage+1-49. I was not able to reproduce it on OS X 10.14.

      To reproduce it:
      1) Download latest jpackage build.
      2) Remove quarantine flag
      sudo xattr -dr com.apple.quarantine /PathToJDK/jdk-14.jdk
      3) jpackage --package-type pkg --input input --dest output --name Test --main-jar DynamicTreeDemo.jar --main-class webstartComponentArch.DynamicTreeApplication
      4) Install pkg and run app from /Application folder via Finder.
      5) Nothing happens and app does not launch.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                almatvee Alexander Matveev
                Reporter:
                almatvee Alexander Matveev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: