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

AppBundler requires "Contents/Home" as part of JAVA_HOME to generate bundles.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • None
    • 8u65
    • deploy
    • Any MacOS

    • generic
    • os_x

      Reproducible: always
      Platform-specific: yes
      Platform: MacOS only
      Steps to reproduce:
      1. Use any netbeans project with main file.
      2. Set JAVA_HOME to any JDK without "Contents/Home" at path.
      3. Try to generate MacOS bundles by running "$JAVA_HOME/bin/javapackager -makeall -name Whatever -appclass Whatever" (or any similar command).
      Expected result: bundles are generated
      Actual result: error message for each bundle type, no bundles generated.

      Error message:
      Bundler Mac App Store Ready Bundler skipped because of a configuration problem: Cannot determine which JRE/JDK exists in the specified runtime directory.
      Advice to fix: Point the runtime directory to one of the JDK/JRE root, the Contents/Home directory of that root, or the Contents/Home/jre directory of the JDK.

      That happens when trying to generate bundles with java api and ant bundler interfaces too.

            cbensen Chris Bensen (Inactive)
            arusakov Andrey Rusakov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: