I'm trying to have to update my JDK on an instance in Google compute. Basically I am looking to get Hortonworks Hadoop up and running and based on the instructions here.
I need:
Your system must have the correct JDK installed on all the nodes of the cluster. HDP supports the following JDKs.
Oracle JDK 1.6 update 31 64-bit
Oracle JDK 7 64-bit
OpenJDK 7 64-bit
I created an instance and installed Centos 6.5 and when I check the Java version it says:
java version "1.5.0"
gij (GNU libgcj) version 4.4.7 20120313 (Red Hat 4.4.7-4)
How do I update it to 1.6? Or the versions listed above? I see instructions everywhere on how to update to a local system. However, I don't see instructions on updating on a Google compute instance.