Linux Sysadmin Blog

Upgrade to Java SE 6 Update 12 on Fedora 10

- | Comments

After our ASA units were updated to the latest version of ASDM my Java client would no longer connect to ASDM. An upgrade to the latest version of Java was in order. Since fedora yum repository does not yet offer the latest version of Java I downloaded the latest rpm variant of JDK from http://java.sun.com/javase/downloads/index.jsp

The install steps are:

Grand executable permission to installer file

1
chmod +x jdk-6u12-linux-i586-rpm.bin

Run installer file

1
./jdk-6u12-linux-i586-rpm.bin

Rename symbolic links pointing to old java programs

1
2
3
4
cd /etc/alternatives
mv java java_old
mv javaws java_old
mv keytool keytool_old

Create new symbolic links

1
2
3
4
cd /etc/alternatives
ln -s /usr/java/latest/bin/java java
ln -s /usr/java/latest/bin/javaws javaws
ln -s /usr/java/latest/bin/keytool keytool

Verify that new java version is installed

1
2
3
4
javaws
Java(TM) Web Start 1.6.0_12 
Usage: javaws [run-options]   
  javaws [control-options]

Comments