Friday, February 1, 2013

How-to Install and Getting-Started with Oracle-Sun Java JDK 7 on Linux Fedora 18 Gnome3 64bit

The Tutorial Show Step-by-Step How-to Install and Getting-Started with the Latest Oracle-Sun Official Java JDK 7 Release for Linux Fedora 18 Gnome3 x86_64 Desktop.

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

Take Note: At the Same Time I'm also Illustrating here the Easiest Way of Installing the New Downloaded .rpm Packages with Dependencies on Fedora 18 Gnome3 Desktop :)

The Screenshots of Installation Correspond to the Install on a Fedora 18 Gnome Desktop but the Procedure on KDE, Xfce, Lxde... Should be Near Identical.

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

Java Baloon
  1. Download Oracle-Sun Java SE JDK 7:

    Oracle JDK7 x64.tar.gz
  2. Double-Click on Archive and Extract into /tmp Linux Gnome3 JDK7 Extraction
  3. Open Terminal Window
    Linux Fedora Gnome3  Open Terminal
  4. Relocate Oracle Java JDK7
    su
    mv /tmp/jdk1.7* /usr/lib/jvm
  5. Updating System Java to Oracle JDK7
    update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.7.*/bin/java 1065
    update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.7.*/bin/javac 1065
    update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk1.7.*/bin/jar 1065
    update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/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. :)

  6. Getting-Started:

    Getting-Started Quickly with JDK7
  7. Guides to Installing the Tomcat 7 Server on Linux:

    How-to Install Tomcat 7 on Linux