Terracotta Server Array does not support Java 1.7 and 1.8, so please use Java 1.6.
The procedure to set the JAVA_HOME environment variable differs on different platforms:
...
- Open System Properties (right-click "My computer" and select "Properties")
- Open "Open Advanced" tab
- Click "Environment Variables"
- Locate the "the JAVA_HOME" system variable and click "Edit"
- Set the value of the variable to the path of the Java installation, for example: "C:\Progra~1\Java\jre1.6.0_17"
...