Java Requirements

Only 64 bit JDKs are supported. Cloudera Manager 6 and CDH 6 do not support JDK 7. Although JDK 7 is supported on all versions of CDH 5, a CDH 5.x cluster that is managed by Cloudera Manager 6.x must use JDK 8 on all cluster hosts. Oracle JDK 8 is supported in Cloudera Manager 6 and CDH 6. JDK 8 is also supported in CDH 5.3 and higher.

OpenJDK 8 is supported in Cloudera Enterprise 6.1.0 and higher, as well as Cloudera Enterprise 5.16.1 and higher. For installation and migration instructions, see Upgrading the JDK.

Applications compiled with JDK 7 are not supported on CDH 6. You must recompile your applications using JDK 8 before upgrading to CDH 6.

Oracle JDK 9 is not supported in any Cloudera Manager or CDH version.

Unless specifically excluded, Cloudera supports later updates to a major JDK release from the release that support was introduced. Cloudera excludes or removes support for select Java updates when security is jeopardized.

Running CDH nodes within the same cluster on different JDK releases is not supported. All cluster hosts must use the same JDK update level.

Continue reading:

Supported JDKs

Cloudera Enterprise Version Supported JDK
5.3 -5.15 Oracle JDK 1.7, Oracle JDK 1.8
5.16 and higher 5.x releases Oracle JDK 1.7, Oracle JDK 1.8, OpenJDK 1.8
6.0 Oracle JDK 1.8
6.1 Oracle JDK 1.8, OpenJDK 1.8

JDK 8

All JDK 8 updates, from the minimum required version, are supported in Cloudera Enterprise 6 unless specifically excluded. Updates above the minimum that are not listed are supported but not tested. JDK 8 is required for Cloudera Manager 6 and CDH 6.

Oracle JDK 8 versions that are tested and recommended
Oracle JDK Version Notes
1.8u181 Recommended / Latest version tested
1.8u162 Recommended
1.8u141 Recommended
1.8u131 Recommended
1.8u121 Recommended
1.8u111 Recommended
1.8u102 Recommended
1.8u91 Recommended
1.8u74 Recommended
1.8u31 Minimum required
OpenJDK 8 versions that are tested and recommended
OpenJDK Version Notes
1.8u181 Minimum required / Latest version tested

JDK 7