The Tutorial Show Step-by-Step How-to Install the Latest Oracle-Sun Official Java JDK 7 SE 32bit Release for Linux Fedora 18 Xfce i686 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 Dependecies on Fedora 18 Xfce Desktop :)
The Screenshots of Installation Correspond to the Install on a Fedora 18 Xfce Desktop but the Procedure on KDE, Gnome, Lxde... Should Work Identically.
To the Post Bottom there is a Link for Installing the Tomcat 7 Java Server on Fedora 18 Linux.
-
Download Oracle-Sun Java SE JDK 7:
- Double-Click on Archive and Extract into /tmp
- Open Terminal Window:
- Relocate Oracle Java JDK7
su
mv /tmp/jdk1.7* /usr/lib/jvm
- 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. :)
-
Getting-Started:
Guide to Installing the Tomcat 7 Server on Fedora: