The Guide shows you in Easy Steps How to Install Oracle-Sun Java JDK 7 32-bit Release for Fedora 16 GNOME3 i686 Desktop.
Especially relevant: at the Same Time I’m also illustrating here How to Install the New Downloaded .rpm Packages with Dependencies on Fedora 16 GNOME Desktop :)
To the Article Bottom there is a Link for Quick Start with Java JDK 7 Development and also How to Install Apache Tomcat7 Java JEE Server for Fedora.
-
Download Oracle-Sun Java SE JDK 7:
Sun JDK 7 Linux i586.rpm -
Select the Open with Package Installer Option or Double-Click After
I Suppose that your Browser like Firefox will Prompt you About the Downloading Procedure to Follow like Here.
If Not Prompted then Double Click on tar.gz Archive…
-
When the Download is Achieved you will be Automatically Prompted for Installing
Follow to Confirm and Authorize Also if you Are Warned About Installation of Unsigned Content…
-
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:
How to Install Apache Tomcat7 Server on Fedora Linux.