Advanced Clusters > Setting up Google Cloud > Step 8. Configure the JAVA_HOME environment variable
  

Step 8. Configure the JAVA_HOME environment variable

To run commands such as the cluster-operations.sh command, you must configure the JAVA_HOME environment variable on the Secure Agent machine.
The Java version on the Secure Agent machine must be compatible with JDK 8.