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

jpackage fails on OS X when using --runtime-image

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • internal
    • internal
    • tools

      We do not support JDK9 officially, but this bug is filed to investigate why our code fails to locate libjli.dylib, since it should able to find it. It might be good idea to make code which finds libjli.dylib universal and work regardless of libjli.dylib location. For example check known locations and if it fails, then scan entire JDK folder.

      $JDK_HOME/bin/jpackage create-app-image \
      --input ../input-jars \
      --output output \
      --name runtime-image9 \
      --vendor "Oracle Test" \
      --description "Hello World with Java 9u" \
      --main-jar hello.jar \
      --main-class hello \
      --runtime-image jdk9
      java.nio.file.NoSuchFileException: output/runtime-image9.app/Contents/runtime/Contents/Home/lib/jli/libjli.dylib

            herrick Andy Herrick (Inactive)
            almatvee Alexander Matveev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: