Identify a workspace directory that will have all the following files and dependencies. In the instructions below, %WORKSPACE% will refer to the full path of the workspace directory. Ensure that you install the following on every host machine in your cluster:
Python 2.7.5
Use the following instructions to manually install Python in your local environment:
Download Python from here to the workspace directory.
Update the
PATH
environment variable. Using Administrator privileges. From the Powershell window, execute the following commands asAdministrator
user:msiexec /qn /norestart /log %WORKSPACE%\python-2.7.5.log /i %WORKSPACE%\python-2.7.5.msi setx PATH "$env:path;C:\Python27" /m
where
%WORKSPACE%
is the full workspace directory path.$env
is the Environment setting for your cluster.
Important Ensure the downloaded Python MSI name matches
python-2.7.5.msi
. If not, change the above command to match the MSI file name.
Microsoft Visual C++ 2010 Redistributable Package (64-bit)
Use the instructions provided here to download Microsoft Visual C++ 2010 Redistributable Package (64-bit) to the workspace directory.
Execute the following command from Powershell with Administrator privileges:
%WORKSPACE%\vcredist_x64.exe /q /norestart
For example:
C:\prereqs\vcredist_x64.exe /q /norestart
Microsoft.NET framework 4.0
Use the instructions provided here to download Microsoft.NET framework 4.0 to the workspace directory.
Execute the following command from Powershell with Administrator privileges:
%WORKSPACE%\slavesetup\dotNetFx40_Full_setup.exe /q /norestart /log %WORKSPACE%/dotNetFx40_Full_setup.exe
JDK 6u31 or higher
Use the instructions provided below to manually install JDK to the workspace directory:
Check the version. From a command shell or Powershell window, type:
java -version
(Optional): Uninstall the Java package if the JDK version is less than v1.6 update 31.
Go to Oracle Java SE 6 Downloads page and accept the license.
Download the JDK installer to the workspace directory.
Important Ensure that no whitespace characters are present in the installation directory's path.
For example,
C:\Program Files
is not allowed.From Powershell with Administrator privileges, execute the following commands:
%WORKSPACE%\jdk-6u31-windows-x64.exe /qn /norestart /log %WORKSPACE%\jdk-6u31-windows-x64.log INSTALLDIR=C:\java\jdk1.6.0_31 setx JAVA_HOME "C:\java\jdk1.6.0_31" /m
where
%WORKSPACE%
is the full workspace directory path.Important Ensure the downloaded JDK
.exe
file's name matches withjdk-6u31-windows-x64.exe
. If not, change the above command to match the EXE file name.For example:
C:\prereqs\jdk-6u31-windows-x64.exe /qn /norestart/log C:\prereqs\jdk-6u31-windows-x64.log INSTALLDIR=C:\java\jdk1.6.0_31