Tutorials

Tuesday, September 18, 2012

Fedora 17 - Install Java

There are two ways to install Java. The simplest is to install the open source variant from the Fedora repository.  It's easy to install, and most importantly it keeps itself up to date.

The second way is to install the official Sun Java binaries manually. The benefit is you'll be working with the official libraries.  The downside is updates are done manually, instead of automatically through the Fedora repos.

I would highly recommend using the open source Java.  Simply install it, and forget it!  I've yet to have an issue with it.

Open Source Java

As root,

yum -y install java-1.7.0-openjdk icedtea-web



Official Java Binaries

32-bit Java binaries

As root,

yum -y install wget
wget -O jre-7u06-linux-i586.rpm http://javadl.sun.com/webapps/download/AutoDL?BundleId=67385
yum -y localinstall jre-7u06-linux-i586.rpm
alternatives --install /usr/bin/java java /usr/java/latest/bin/java 20000
alternatives --install /usr/bin/javaws javaws /usr/java/latest/bin/javaws 20000
alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so libjavaplugin.so /usr/java/latest/lib/i386/libnpjp2.so 20000
rm -f jre-7u06-linux-i586.rpm




64-bit Java binaries

As root,

yum -y install wget
wget -O jre-7u06-linux-x86_64.rpm http://javadl.sun.com/webapps/download/AutoDL?BundleId=67387
yum -y localinstall jre-7u06-linux-
x86_64.rpm
alternatives --install /usr/bin/java java /usr/java/latest/bin/java 20000
alternatives --install /usr/bin/javaws javaws /usr/java/latest/bin/javaws 20000
alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so libjavaplugin.so.
x86_64  /usr/java/latest/lib/amd64/libnpjp2.so 20000
rm -f jre-7u06-linux-
x86_64.rpm



2 comments:

  1. How to Activate Twitch channel on Roku?
    If you are new to the Roku streaming platform, select the best device among Roku Express, Express Plus, Premiere, and Premiere plus. Complete the setup and then navigate to the store. Add the channel to find the activation code. This code must be provided on the page, Twitch.tv/activate. Sign with the Twitch TV channel account, if required. If you are expecting any help to complete Twitch TV channel activation, talk to our network support team by dialing our number+1-855-718-4111 and you can visit our site twitch.tv/activate

    ReplyDelete
  2. What is the Roku Account?
    The Roku account is an essential requirement and you need to activate the Roku TV. It would be better if you already have a roku.com/link account else, you need to create the Roku account before getting into the activation process. If you want more information about Roku please visit our site Roku TV Setup

    ReplyDelete