Install Java JRE on CentOS

Java is one of the Open Source language that widely used by the programmer.

In short, you may install JRE or JDK to allow your server to work with Java where JRE use to be able to run the application and JDK use to allow you to compile the source code and running the application.

To get this done, understand the installation page of JRE from URL below,
http://www.oracle.com/technetwork/java/javase/downloads/jre-6u26-download-400751.html

Download the 32-bits or 64-bits according to your server. In this case, I will use 64 -bits as example,

1. Download the file,

wget http://www.oracle.com/technetwork/java/javase/downloads/jre-6u26-download-400751.html

2.Install it,

sh ./jre-6u26-linux-x64-rpm.bin

3. To check which version of java install,
root@server[~]# java -version

4. To check where the java installed,
root@server[~]# which java

Published by

Mick Genie

Mick Genie is the founder of MickGenie.com and working at ExaBytes Network Sdn Bhd and WPWebHost web host company. He is expertise in Windows and Linux environment especially web hosting related information, tips and trick as well as the IT Information.