This is the documentation for CDH 4.6.0.
Documentation for other versions is available at Cloudera Documentation.

Supported JDK Versions

CDH4 is supported with Oracle JDK.
  Important: JDK 1.7
As of Cloudera Manager 4.7 and CDH4.4, Cloudera now supports users running applications compiled with Oracle JDK 7 (JDK 1.7), with the following restrictions:
  • All CDH components must be running the same major version (that is, all deployed on JDK 6 or all deployed on JDK 7). For example, you cannot run Hadoop on JDK 6 while running Sqoop on JDK 7.
  • All nodes in the cluster must be running the same major JDK version: Cloudera does not support mixed environments (some nodes on JDK6 and others on JDK7).
To make sure everything works correctly, symbolically link the directory where you install the JDK to /usr/java/default on Red Hat and similar systems, or to /usr/lib/jvm/default-java on Ubuntu and Debian systems.
  • For JDK 1.6, CDH4 is certified with 1.6.0_31, but any later maintenance (_xx) release should be acceptable for production, following Oracle's release notes and restrictions. The minimum supported version is 1.6.0_8.
  • For JDK 1.7, CDH4.2 and later are certified with 1.7.0_15, but any later maintenance (_xx) release should be acceptable for production, following Oracle's release notes and restrictions.