How to Install Oracle Java JDK 7 on Fedora 17 KDE4 32bit Linux Easy Visual-Guide

July 20, 2012 | By Duchateaux.

The Guide shows you Step-by-Step How to Install Oracle-Sun Java JDK 7 32-bit Release for Fedora 17 KDE4 i686 Desktop.

After Installing you will need to Use the update-alternatives Tool to Update your System Java to Sun SE JDK 7.

Especially relevant: at the Same Time I’m also illustrating here How to Install the New Downloaded .rpm Packages with Dependencies on Fedora 17 KDE4 Desktop :)

The Screenshots of Installation Correspond to the Install on a Fedora 17 KDE Desktop but the Procedure on GNOME, XFCE… Should be Near Identical.

Following the Easiest and Practicable Way I have Expressly Excluded the Use of Terminal Commands here.

So Take the Time of Carefully Reading and Executing the Instructions Contained Here and All should Work Like a Breeze.

Java Baloon
  1. Download Java JDK 7:

    Java JDK 7 Linux .rpm
  2. Select the Open with Package Installer Option or Double-Click After

    We Suppose that you Browser like Firefox will Prompt you About the Downloading Procedure to Follow like Here.

    Install the Latest Java on Fedora 17 KDE 1

    If Not Prompted then Double Click on the Downloaded tar.gz Archive…

  3. When the Download is Achieved you will be Automatically Prompted for Installing

    Install the Latest Java on Fedora 17 KDE 2
    Install the Latest Java on Fedora 17 KDE 2a

  4. After all the Dependencies are Fulfilled Java is Ready to Be Installed

    Install the Latest Java on Fedora 17 KDE 3

    Follow to Confirm and Authorize Also if you Are Warned About Installation of Unsigned Content

    Install the Latest Java on Fedora 17 KDE 3a
    Install the Latest Java on Fedora 17 KDE Success

  5. Updating System Java to Oracle JDK

    update-alternatives --install /usr/bin/java java /usr/java/jdk1.7*/bin/java 1065
    update-alternatives --install /usr/bin/javac javac /usr/java/jdk1.7*/bin/javac 1065
    update-alternatives --install /usr/bin/jar jar /usr/java/jdk1.7*/bin/jar 1065
    update-alternatives --install /usr/bin/javaws javaws /usr/java/jdk1.7*/bin/javaws 1065

    Checking or Setting the System Java Version in Use with.

    update-alternatives --config java

    And for the Java Compiler instead:

    sudo update-alternatives --config javac

    To Switch of Java Version Just Enter the Reference Number on First, Column. :)

  6. Optionally Set Java Environment Variable.

    su <myUser>
    nano $HOME/.bashrc

    Append:

    export JAVA_HOME=/usr/lib/jvm/jdk1.<X.Y_uZ>

    Ctrl+x to Save & Exit from nano :)

    source $HOME/.bashrc
  7. How to Install Oracle Java Browser Plug-In:

    Install Oracle Java Firefox PlugIn

Guides to Installing the Tomcat 7 Server on Linux:


QuickChic Theme • Powered by WordPress