$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Install Latest Oracle-Sun Java JDK 7 X64 on Linux Fedora 17 Gnome 64-bit Desktop

October 24, 2012 | By Duchateaux.

The Guide shows you Step-by-Step How to Install Oracle-Sun Java JDK 7 x64 Release for Fedora 17 GNOME3 x8664 Desktop.

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

The Screenshots of Installation Correspond to the Install on a Fedora 17 GNOME Desktop but the Procedure on KDE, 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 Oracle-Sun Java SE JDK 7:

    Sun JDK 7 Linux x64.rpm
  2. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Fedora Linux GNOME3 Open Terminal

    In case first see: Terminal QuickStart Guide.

  3. Installing Oracle-Sun Java JDK

    su 

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

    cd /[path2]/jdk*.rpm
    sudo 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 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. :)

  5. 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
  6. How to Install Oracle Java Browser Plug-In:

    Install Oracle Java Firefox PlugIn

Guides to Installing the Tomcat 7 Server on Linux:

How to Install Tomcat 7 on Linux