The Guide Shows You Step-by-Step How-to Install and Getting-Started with the Latest Oracle-Sun Official Java JDK 7 x64 Release for Linux CentOS 6 Gnome 64bit Desktop.
After Installing you will need to Use the update-alternatives Tool to Update your System Java to Sun SE JDK 7.
To the Post Bottom you Find Link to Installing the Tomcat7 Java Web-Server for CentOS Linux Distro.
The Screenshots of Installation Correspond to the Install on a CentOS 6 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 :)
Download Oracle Java SE JDK 7:JDK 7 Linux x64.rpm
- Select Open with Package Installer or Double-Click on Archive
I Suppose that your Browser like Firefox will Prompt you About the Downloading Procedure to Follow like Here.
- 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…
- Installing Oracle Java-Sun Java SE JDK
update-alternatives --config java
Just Select the Installed Java Selection Number.
Optionally Set Java Environment Variable
Ctrl+x to Save & Exit from nano :)
How-to Install Oracle Java Browser Plug-In:Install Oracle Java Firefox PlugIn
Guides to Installing the Tomcat 7 Server on CentOS Linux: