Setting environment variables
You must set environment variables before using the Command Line Interface (CLI) and software developer kit utilities, or before running the supplied examples.
To set the environment variables, complete the following step:
Set the JAVA_HOME environment variable to the directory for the Java™ runtime environment.
If JAVA_HOME is not set, the script runs the first Java executable file found on the execution path.