Skip to content

Monthly Archives: November 2010

How to install the Offical Oracle JDK on Centos 5.5 and add select it as the default JDK

02-Nov-10

Here’s the command to install an alternative installation of Java: I installed JDK 6u22 from the executable rpm.bin file from the Oracle site. Then I ran this command to add it to the alternatives program. alternatives –install /usr/bin/java java /usr/java/jdk1.6.0_22/bin/java 99 then you just run alternatives –config java There are 3 programs which provide ‘java’. [...]