Issue
When running the CloudBees CD/RO installer in my Windows instance I am getting some undetermined errors, and the installation cannot finish successfully.
"Picked up JAVA_TOOL_OPTIONS: -Duser.home=C:\Users\XXXX Asia/Calcutta^" ... ... Setting the CloudBees CD server host for the repository 'Asia' is not recognized as an internal or external command, operable program or batch file. child process exited abnormally XX/XX/XXXX XX:XX:XX - Error: Failed to configure the installation.
Environment
-
CloudBees CD/RO Server
-
CloudBees CD/RO 10.1.x
-
CloudBees CD/RO 10.0.x
-
CloudBees CD/RO 9.x
-
CloudBees CD/RO 8.x
-
Resolution
The problem comes from the existence of the JAVA_TOOL_OPTIONS
environment variable in the session where the installer is running. The product does not support reading JVM properties from the JAVA_TOOL_OPTIONS
environment variable, and this causes the installation to fail.
While this will be addressed by NMB-30330, as a temporary workaround what you can do is to delete the JAVA_TOOL_OPTIONS
environment variable and run the installer. Once that you do this, the installation should finish without further problems.