Install Java 8 on CentOS 7

The open-source community is full of free software, but for those who need a more private and secure environment, CentOS 7 offers an alternative to the Linux distributions that offer commercial support.

This article will guide you through installing Java 8 on your CentOS 7 server in minutes!

Watch On Youtube


The first step is to download the installation package from Oracle’s website.

Once downloaded, simply execute the installer with sudo ./jdk-8u60-linux-x64.bin as root (or use su to become root if you are not). After pressing “yes” at any prompts, Java 8 should be installed within 5 minutes or less!


This blog post will walk you through how to install Java 8 on your CentOS 7 machine in under 10 minutes

Share this!
Click Here to Leave a Comment Below

Leave a Comment: