Hi! The Tutorial shows you Step-by-Step How to Install and Getting-Started with the Oracle-Sun Java JDK 7 x8664 Release for Fedora 17 GNOME3 x8664 Desktop.
Especially relevant: at the Same Time I’m also illustrating here How to Install 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.
-
Download Oracle Java SE JDK 7:
JDK 7 x64 tar.gz -
Open Terminal Window
(Press “Enter” to Execute Commands)In case first see: Terminal QuickStart Guide.
-
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…”.
-
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. :)
-
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. :)
-
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
-
How to Install Oracle Java Browser Plug-In:
Guides to Installing the Tomcat 7 Server on Linux:
How to Install VMware Tools on FreeBSD 9 UnixHow 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 https://tutorialforlinux.com/2012/08/installvmwaretoolslinuxmageia2kde.htmlhttps://tutorialforlinux.com/2012/08/fedora17lxdehowtoinstallvmwaretools.htmlhttps://tutorialforlinux.com/2012/08/debianwheezylxdeinstallvmwaretools.htmlhttps://tutorialforlinux.com/2012/08/linux-debian-wheezy-xfce-howto-install.htmlhttps://tutorialforlinux.com/2012/08/installvmwaretoolslinuxmint13mayamate.htmlhttps://tutorialforlinux.com/2012/08/linuxmint13cinnamoninstallvmwaretools.htmlhttps://tutorialforlinux.com/2012/08/linuxmint13mayaxfceinstallvmwaretools.htmlhttps://tutorialforlinux.com/2012/08/unixfreebsd9howinstallvmwaretools.htmlhttps://tutorialforlinux.com/2012/08/fedora17gnome3howinstallvmwaretools.htmlhttps://tutorialforlinux.com/2012/07/installvmwaretoolslinuxfedora17xfce.htmlhttps://tutorialforlinux.com/2012/07/installvmwaretoolslinuxmint13mayakde.htmlhttps://tutorialforlinux.com/2012/07/howtoinstallvmwaretoolsfedora17gnome.htmlhttps://tutorialforlinux.com/2012/07/installvmwaretoolsfedora17kde4visual.htmlhttps://tutorialforlinux.com/2012/04/installvmwaretoolsrosamarathon12linux.htmlhttps://tutorialforlinux.com/2012/04/howtoinstallvmwaretoolsmageia1linux.htmlhttps://tutorialforlinux.com/2012/04/linuxhowtoinstallvmwaretoolsubuntu12.htmlhttps://tutorialforlinux.com/2012/04/unixinstallvmwaretoolsfreebsd9.htmlhttps://tutorialforlinux.com/2012/03/installingvmwaretoolsfedora16easyguide.htmlhttps://tutorialforlinux.com/2012/03/installvmwaretoolsdebianwheezy.htmlhttps://tutorialforlinux.com/2012/02/installingvmwaretoolscentos6visually.htmlhttps://tutorialforlinux.com/2012/02/vmwaretoolslinuxmint12visual.htmlhttps://tutorialforlinux.com/2011/11/installing-vmware-tools-on-centos-6.htmlhttps://tutorialforlinux.com/2011/05/installing-vmware-tools-on-opensuse.htmlhttps://tutorialforlinux.com/2011/05/installing-vmware-tools-on-debian-lenny.htmlhttps://tutorialforlinux.com/2011/05/installing-vmware-tools-on-fedora-pae.htmlhttps://tutorialforlinux.com/2011/05/installing-vmware-tools-on-fedora.htmlhttps://tutorialforlinux.com/2011/05/installing-vmware-tools-on-rhel-6-with.html Website Development PHPWebsite in Drupal DevelopmentJoomla DevelopmentSito in Flash