Setting environment variables

You must install the jre_directory/bin path in the $PATH environment variable where jre_directory is the installation directory of the Java™ Runtime Environment (JRE).

This must be the first path set in the $PATH environment variable.