Install and configure Oracle JDK as follows:
- Download the supported version of Oracle JDK from Oracle website. For supported versions of Java, see the Tested Configurations document.
- Set the JAVA_HOME and Path environment variables as follows:
- On Windows, set the JAVA_HOME and Path environment variables to the installed Java location.
- On Linux and Solaris, export JAVA_HOME variable to installed java location, and update the PATH variable with the Java_Home/bin path.
- Ensure java -version command shows the correct java version in the console.