Download Linux RPM in self-extracting file from http://java.sun.com/.
jdk-6u4-linux-i586-rpm.bin - for non 64 bit computer
jdk-6u4-linux-x64-rpm.bin - for 64 bit computer
STEP 2: HOW TO INSTALL
- chmod a+x jdk-6u4-linux-xxxx.rpm.bin
- ./ jdk jdk-6u4-linux-xxxx.rpm.bin
- Remove the existing java installation. you can identify the package by executing 'rpm -qa | grep java' you can remove the package by executing rpm -e 'java-1.x.x.'
- rpm jdk-6u4-linux-xxxx.rpm
- vi /root/.bash_profile and add this ..
PATH=$PATH:$HOME/bin:/usr/java/jdk1.6.0_04/bin
1 comment:
Thanks for the post!
Post a Comment