Installing Sun’s JRE on Fedora Core

First go here and choose your operating system and architecture. Download the corresponding jre.

$ chmod +x jre-6u16-linux-i586-rpm.bin
$ sudo ./jre-6u16-linux-i586-rpm.bin

Probably your system has another java version already installed:

$ java -version

If this is the case select the new jre using alternatives:

$ sudo alternatives --install /usr/bin/java java /usr/java/jre1.6.0_16/bin/java 2
$ sudo alternatives --config java        #choose 2

To check that the selection has worked:

$ alternatives --display java
$ java -version
 Installing Suns JRE on Fedora Core

Share this post:

  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks

No related posts.

Leave a Reply