Install SUN/Oracle JDK on CentOS or Fedora

Posted on Tue 19 April 2011 in CentOS • Tagged with CentOS, Java, JDK

1. Download SUN or now Oracle JDK (.rpm.bin format) from Oracle Website:

  1. make .bin file executeable
chmod +x <file>.rpm.bin
  1. run the installer
  1. link the installed jdk into your environment
alternatives --install /usr/bin/java …

Continue reading