How To Update Java / Oracle JDK on CentOS 6

Linux: CentOS 6
Oracle JDK



1. Check the currently installed version of JDK

# rpm -qa | grep jdk

2. Uninstall the previous version, in my case it is jdk-1.8.0_11-fcs.x86_64

# rpm -e jdk-1.8.0_11-fcs.x86_64

3. Install the new version, in my case it is jdk-8u25-linux-x64

# rpm -Uhv jdk-8u25-linux-x64.rpm


IT / Coding / How-To


Other Topics