-
Bug
-
Resolution: Duplicate
-
P4
-
8u60, 9
-
None
The test JDK-8050964.js fails on plain Windows (no Cygwin installation) if %JAVA_HOME% contains a space. In particular, the following line in the test fails:
`${jdepsPath} -s -P ${nashornJar.absolutePath}`
The jdepsPath variable expands to a string containing spaces in this case. With %JAVA_HOME% set to C:\Program Files\Java\jdk1.8.0_45, the error is that the program "C:\Program" cannot be run.
`${jdepsPath} -s -P ${nashornJar.absolutePath}`
The jdepsPath variable expands to a string containing spaces in this case. With %JAVA_HOME% set to C:\Program Files\Java\jdk1.8.0_45, the error is that the program "C:\Program" cannot be run.