1) Download Oracle JDK
Version 4.5 and higher requires Java 1.8
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.htmlVersion 4.4 and lower requires Java 1.7
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html2) Copy the Oracle JDK to the CDP server (typically saved under /opt)
3) gzip –d jdk-8u60-linux-x64.tar.gz
4) tar –vxf jdk-8u60-linux-x64.tar
5) chown –R root:root /opts/jdk-8u60-linux-x64
6) update-alternatives --install "/bin/java" "java" "/opt/jdk1.8.0_60/bin/java" 1
Note: The above instructions assume that CDP will be installed on a server where no other Java applications are currently running.