July 2012
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Categories

July 2012
M T W T F S S
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Java in Centos

Install java in centos

1. Download bin file using below command

wget http://download.oracle.com/otn-pub/java/jdk/6u27-b07/jdk-6u27-linux-i586.bin

If the link is not working, Please use the below link, If you need latest one download it.

http://www.oracle.com/technetwork/java/javase/downloads/index.html

2. After download complete it look like

jdk-6u26-linux-x64.bin?e=1312191174&h=c5f0b98f8ea25aca97f3b53be8497570

so we need to rename the file using below command,

mv jdk-6u26-linux-x64.bin?e=1312191174&h=c5f0b98f8ea25aca97f3b53be8497570 jdk-6u4-linux-x64.bin

[…]