Wednesday, December 12, 2012

How-to Install Latest Oracle Java JDK 7 x64 for Linux Fedora 16 64bit KDE4 Desktop

The Guide Show Step-by-Step How to Install the Latest Oracle-Sun Official Java JDK 7 64bit Release on a Linux Fedora 16 KDE4 x86_64 Desktop.

 

Take Note: At the Same Time I'm also Illustrating here the Easiest Way of Installing the New Downloaded .rpm Packages with Dependecies :)

 

The Screenshots of Installation Correspond to the Install on a Fedora 16 KDE Desktop but the Procedure on Gnome, XFCE and Lxde is Similar...

 

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 Oracle-Sun Java SE JDK 7:

    Sun JDK 7 Linux x64.rpm
  2. Open Terminal Window
    Linux Fedora 14-18 Kde4 Open Terminal
  3. Installing Oracle-Sun Java JDK7
    su
    cd <path/to>/jdk*.rpm
    yum install jdk*.rpm

    YUM will Automatically Manage and Download the Eventual Dependencies Also for Local Packages :)

    You Can Safely Ignore Eventual Installation Errors: "Could not open input file..."

  4. Updating System Java to Oracle JDK7
    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

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

  5. Getting-Started:

    Getting-Started Quickly with JDK7

Download Tomcat

Apache Tomcat 7 tar.gz