Monday, 21 September 2015

Installing Java JDK on Centos

I used the instructions from THIS site to install Java on a Centos 6 vm.

Go to the Oracle Java download page and download the required version depending upon your distribution architecture.
As I use 64bit CentOS 7 server, I have downloaded the 64bit rpm package.
Install Java:
#rpm -ivh jdk-8u60-linux-x64.rpm
Test the Java Version:

java -version

You will get the following output:

java version "1.8.0_60" Java(TM) SE Runtime Environment (build 1.8.0_60-b27) Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)



No comments:

Post a Comment