How-to Install Java JDK 7 x64 on Linux Fedora 17 Gnome3 64bit Easy Visual-Guide

August 31st, 2012 by Regaz



The Tutorial Shows You Step-by-Step How-to Install and Getting-Started with the Latest Oracle-Sun Java JDK 7 x8664 Release for Fedora Linux 17 Gnome3 x8664 Desktop.

Especially relevant: At the Same Time I’m also Illustrating here the Easiest Way of Installing the New Downloaded .rpm Packages with Dependencies on Fedora 17 Gnome3 Desktop :)

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

Finally to the article Bottom Link to the Installation Guide for Apache Tomcat7 Server Java JEE on Fedora Linux.

Java Baloon
  1. Download Oracle Java SE JDK 7:

    JDK 7 x64.tar.gz
  2. Open Terminal Window
    (Press “Enter” to Execute Commands)
    Fedora Linux Gnome3 Open Terminal
  3. Installing Oracle-Sun Java JDK
    su 

    If Got “User is Not in Sudoers file” then Look: Solution

    cd </path/2>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 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

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

  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

    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

  8. Guides to Installing the Tomcat 7 Server on Linux:

    How-to Install Tomcat 7 on Linux
Sviluppo Siti WebInstall and Getting-Started on Oracle 11g R2 for RHEL 6Install and Getting-Started on Oracle 11g R2 for RHEL 6Install and Getting-Started on Oracle 11g R2 for Oracle Linux 6Install and Getting-Started on Oracle 11g R2 for Oracle Linux 6How-to Install VMWare Tools on Linux Mint 12How-to Install VMWare Tools on Ubuntu 11 LinuxHow-to Install VMWare Tools on Ubuntu 12How-to Install VMWare Tools Fedora 16 Linux Easy Visual GuideHow-to Install VMWare Tools on Fedora 8-16 LinuxHow-to Install VMWare Tools on Fedora PAE Kernel LinuxHow-to Install VMWare Tools on Debian Wheezy LinuxHow-to Install VMWare Tools on Debian Lenny and Squeeze LinuxHow-to Install the VMWare Tools on CentOS 6 Linux VisuallyHow-to Install VMWare Tools on CentOS 6 LinuxHow-to Install VMWare Tools on OpenSuse LinuxHow-to Install VMWare Tools on RHEL 6 LinuxHow-to Install VMWare Tools on Oracle Linux 6How-to Install VMWare Tools on Mageia LinuxHow-to Install VMWare Tools on Rosa Marathon 12 Linux
How-to Install VMWare Tools on FreeBSD 9 Unix
How-to Install Evernote on Linux Oracle 6 KDEHow-to Install Evernote on Linux RHEL 6 KDEHow-to Install Evernote on Fedora Linux 16 KDEHow-to Install Evernote on Linux OpenSuse 12 KDEHow-to Install Evernote on Linux CentOS 6 KDEHow-to Install Evernote on Linux Oracle 6 GnomeHow-to Install Evernote on Linux RHEL 6 GnomeHow-to Install Evernote on Linux OpenSuse 12 GnomeHow-to Install Evernote on Fedora Linux 16 GnomeHow-to Install Evernote on Linux CentOS 6 Gnome http://tutorialforlinux.com/2012/08/installvmwaretoolslinuxmageia2kde.htmlhttp://tutorialforlinux.com/2012/08/fedora17lxdehowtoinstallvmwaretools.htmlhttp://tutorialforlinux.com/2012/08/debianwheezylxdeinstallvmwaretools.htmlhttp://tutorialforlinux.com/2012/08/linux-debian-wheezy-xfce-howto-install.htmlhttp://tutorialforlinux.com/2012/08/installvmwaretoolslinuxmint13mayamate.htmlhttp://tutorialforlinux.com/2012/08/linuxmint13cinnamoninstallvmwaretools.htmlhttp://tutorialforlinux.com/2012/08/linuxmint13mayaxfceinstallvmwaretools.htmlhttp://tutorialforlinux.com/2012/08/unixfreebsd9howinstallvmwaretools.htmlhttp://tutorialforlinux.com/2012/08/fedora17gnome3howinstallvmwaretools.htmlhttp://tutorialforlinux.com/2012/07/installvmwaretoolslinuxfedora17xfce.htmlhttp://tutorialforlinux.com/2012/07/installvmwaretoolslinuxmint13mayakde.htmlhttp://tutorialforlinux.com/2012/07/howtoinstallvmwaretoolsfedora17gnome.htmlhttp://tutorialforlinux.com/2012/07/installvmwaretoolsfedora17kde4visual.htmlhttp://tutorialforlinux.com/2012/04/installvmwaretoolsrosamarathon12linux.htmlhttp://tutorialforlinux.com/2012/04/howtoinstallvmwaretoolsmageia1linux.htmlhttp://tutorialforlinux.com/2012/04/linuxhowtoinstallvmwaretoolsubuntu12.htmlhttp://tutorialforlinux.com/2012/04/unixinstallvmwaretoolsfreebsd9.htmlhttp://tutorialforlinux.com/2012/03/installingvmwaretoolsfedora16easyguide.htmlhttp://tutorialforlinux.com/2012/03/installvmwaretoolsdebianwheezy.htmlhttp://tutorialforlinux.com/2012/02/installingvmwaretoolscentos6visually.htmlhttp://tutorialforlinux.com/2012/02/vmwaretoolslinuxmint12visual.htmlhttp://tutorialforlinux.com/2011/11/installing-vmware-tools-on-centos-6.htmlhttp://tutorialforlinux.com/2011/05/installing-vmware-tools-on-opensuse.htmlhttp://tutorialforlinux.com/2011/05/installing-vmware-tools-on-debian-lenny.htmlhttp://tutorialforlinux.com/2011/05/installing-vmware-tools-on-fedora-pae.htmlhttp://tutorialforlinux.com/2011/05/installing-vmware-tools-on-fedora.htmlhttp://tutorialforlinux.com/2011/05/installing-vmware-tools-on-rhel-6-with.html Website Development PHPWebsite in Drupal DevelopmentJoomla DevelopmentSito in Flash

Tags: , , , , , , , , ,