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

[macos] App created with jpackage on Mac fails with error -10810

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 15
    • 15, 16
    • tools
    • MacOS 10.14.6

      JDK 14, 15, 16

      JavaFX 15 EA

    • b31
    • x86
    • os_x

        I already create apps by bundling them with jpackage for quite some time now but recently (I cannot exactly say with which build) this stopped working. The build itself works without problem and also the size of the app bundle is the same as before but when I double click the application it just does not open. If I run the app on the command line via "open myApp.app" it terminates immediately with the error message "LSOpenURLsWithRole() failed with error -10810 for the file myApp.app." It would be helpful to know what that actually means.

        This must be a regression because for my code and build script this still works perfectly when I use the JDK 14 version of jpackage but since some build of JDK 15 this does not work anymore up to and including JDK 16 b03.

        My procedure is to first create an image via jlink and then bundle that with the application jars via jpackage in a second step.

              herrick Andy Herrick (Inactive)
              mpaus Michael Paus
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: