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

gradle test fails to run when using jdk-10+36 as boot JDK

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: javafx
    • Labels:

      Description

      This is a bug in gradle that we need to work around in the FX build.gradle script.

      See https://github.com/gradle/gradle/issues/3849 for details.

      On Linux and Mac this could fail if sym-links are used or it you have an extra "/" in your path, but a normal setup will not hit this problem on these platforms.

      On Windows, this will fail always.

      To reproduce this, do the following on Windows:

      1. Download jdk-10-ea+36 (from java.net)

      2. Unpack it and set your JAVA_HOME and PATH variables to point to it

      3. Run 'gradle test'

      It will fail with a message similar to:

          Could not determine Java version using executable C:/java/jdk-10//bin/java.exe.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: