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

Gradle uses wrong value for JAVA_HOME if not set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • javafx

      The logic in rt/build.gradle takes JAVA_HOME either from the environment or from the java.home system property. However, these values differ in that ${JAVA_HOME} points to the JDK top-level directory, whereas the java.home property points to the jre directory within the JDK.

      One consequence of this is that the check for $JAVA_HOME/jre/lib/ext/jfxrt.jar does not work if JAVA_HOME is not set in the environment.

            kcr Kevin Rushforth
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: