1) Download RPM package
$ mkdir /opt
$ mkdir /opt/java
$ cd /opt/java
$
$ # download Java JRE from http://www.oracle.com/technetwork/java/javase/downloads/jre6-downloads/
2) Install package
$ # change permission to execute
$ chmod a+x jre jre-6u33-linux-i586-rpm.bin
$ ./jre-6u33-linux-i586-rpm.bin
$ ./jre-6u33-linux-i586-rpm.bin
3) Create symbolic link to Java JRE 1.6
$ which java
$ ls -la /usr/bin/java
$ #backup
$ mv /usr/bin/java /usr/bin/java.bkp.2012-06-20
$ ln -s /usr/java/jrel1.6.0_33/bin/java /usr/bin/java
4) Test Java JRE 1.6
$ java -version
Nenhum comentário:
Postar um comentário