Install Java 8 on CentOS 7

In this video, we will install Java 8 on a CentOS 7 server. These instructions include updating the server, verifying the Java install, setting java’s home environment, as well as setting java’s path. This video is accompanying the article located at

Author: Justin Palmer

Commands used:

yum -y update

yum install java-1.8.0-openjdk

java -version

update-alternatives –config java

vim .bash_profile
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-
to the bottom of the file.
Source .bash_profile
to refresh the file
should output

Duration: 3:23
Publisher: Liquid Web
You can watch this video also at the source.