-
Bug
-
Resolution: Fixed
-
P2
-
10
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.
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.