-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_16
When compiling hudson core on Windows, it complains about 'C:\Program'. If JAVA_HOME does not contain space, the compilation succeeds. Other components do not fail with JAVA_HOME set to standard Windows location (i.e. Program Files).
...
[resources:resources]
Using 'UTF-8' encoding to copy filtered resources.
Copying 2423 resources
[stapler:apt]
Compiling 117 source files to D:\CM-work\hudson\main\core\target\classes
------------------------------------------------------------------------
[ERROR]BUILD FAILURE
------------------------------------------------------------------------
Compilation failure
Failure executing javac, but could not parse the error:
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.