Cloudera Data Science Workbench on HDP has the following Java requirements.
The entire cluster, including Cloudera Data Science Workbench gateway hosts, must use either Oracle JDK 8 or OpenJDK 8.
For Red Hat/CentOS deployments, Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction must be enabled on the Cloudera Data Science Workbench gateway hosts. This is to ensure that JDK uses the same default encryption type (aes256-cts) as that used by Red Hat/CentOS operating systems, Kerberos, and the rest of the cluster. For instructions, see Installing the JCE on Ambari.
configuration property must be configured as part of the CDSW installation process and must
JAVA_HOME environmental variable configured for your HDP cluster.
If you need to modify
JAVA_HOME after the fact, restart the mater and
worker hosts to have the changes go into effect.