Some time download URL didn’t work as Oracle update the URL whenever a new version gets released. Follow the below steps to update the Java version on CentOS 6. The current Java version is 1.7v now upgrade it to 1.8v. OpenJDK 64-Bit Server VM (build 24.65-b04, mixed ~]# See Also: Step 1: First verify current Java Version ~]# java -version