Tuesday, February 5, 2008

HowTo: Install Java IcedTea on Fedora 8

There a lot of java-enabled websites around the globe when visited, checks for specific java version from end users' browser. Most banking institutions does this. Disappointment comes along if you don't have any java package from your Fedora box.

If you are using Fedora and you wish to install the opensourced Java IcedTea java version, read on.

The IcedTea project provides a harness to build the source code from the OpenJDK project using Free Software build tools and provides replacements for the binary plugs with code from the GNU Classpath project.

Getting Sun JDK with Fedora is not possible as of this time and would be not redistributable. With IcedTea which was based on OpenJDK, a Fedora rpm package is available.

Here's how to install Java IcedTea RPM (OpenJDK) package on Fedora 8.

Java IcedTea comes as part of the Fedora 8 OS distro.

To install Java Icedtea from Fedora DVD ISO image file on x86 machine, simply follow like so
# mount -o loop -t iso9660 /ISO/Fedora-8-i386-DVD.iso /F8
# cd /F8/packages
# rpm -ivh java-1.7.0-icedtea-1.7.0.0-0.19.b21.snapshot.fc8.i586.rpm \\ java-1.7.0-icedtea-plugin-1.7.0.0-0.19.b21.snapshot.fc8.i586.rpm

To install Java IcedTea Web Browser Plugin via rpm
# cd /F8/Packages
# rpm -ivh java-1.7.0-icedtea-plugin-1.7.0.0-0.19.b21.snapshot.fc8.i586.rpm

To install Java IcedTea Runtime Environment via rpm
# cd /F8/Packages
# rpm -ivh java-1.7.0-icedtea-1.7.0.0-0.19.b21.snapshot.fc8.i586.rpm

Alternatively, this can be done using yum.

To install Java IcedTea Web Browser Plugin via yum
# yum install java-1.7.0-icedtea-plugin

To install Java IcedTea Runtime Environment via yum
# yum install java-1.7.0-icedtea java-1.7.0-icedtea-devel

You should now be able to run or compile programs with the java and javac programs, respectively, and use the web browser plugin.

Test your java web browser plugin here here.

That is all, enjoy.

Related Java Articles
Sun Java on Fedora 8 Installation

0 comments:

Sign up for PayPal and start accepting credit card payments instantly.
ILoveTux - howtos and news | About | Contact | TOS | Policy