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

Contents/MacOS/libpackager.dylib not found when starting an application bundled with the JDK-10 javapackager on macOS 10.10

    XMLWordPrintable

Details

    • x86_64
    • os_x

    Description

      FULL PRODUCT VERSION :
      java version "10" 2018-03-20
      Java(TM) SE Runtime Environment 18.3 (build 10+46)
      Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Mac OS X 10.10.5

      A DESCRIPTION OF THE PROBLEM :
      If I install and try to start, on Mac OS X 10.10, an application bundled with the javapackager of the JDK-10 on Mac OS X 10.13, nothing happens. The application does not start.

      If I start the launcher via a command line in the terminal, I receive an error message like "my.app/Contents/MacOS/libpackager.dylib not found".

      However, the file libpackager.dylib is present.

      The error only occurs on Mac OS 10.10. The same application has no problem on 10.11 and other newer versions of mac os x.

      REGRESSION. Last worked in version 9.0.4

      ADDITIONAL REGRESSION INFORMATION:
      java version "9.0.4"
      Java(TM) SE Runtime Environment (build 9.0.4+11)
      Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Create an application for Mac OS X using javapackager and start it on Mac OS X 10.10.x.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The application starts normally.
      ACTUAL -
      The application does not start.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      2018-03-22 10:33:35.770 BeDesk-Express[5147:147981] /Applications/BeDesk-Express.app/Contents/MacOS/libpackager.dylib not found.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      Install the JDK-10 on the target machine and start the jar file with a command line like:

      java -server -jar /Applications/BeDesk-Express.app/Contents/Java/BeDeskLauncher.jar -trace

      Attachments

        Activity

          People

            vdrozdov Victor Drozdov (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: