The Guide shows you in Easy-Steps How to Install Oracle-Sun Java JDK 7 64-bit Release for Linux OpenSuse 12 GNOME3 64-bit Desktop.
After Installing you will need to Use the update-alternatives Tool to Update your System Java to Sun SE JDK 7.
Especially relevant: At the Same Time I’m also illustrating here the Easiest Way of Installing the New Downloaded .rpm Packages with Dependencies on openSUSE GNOME Desktop :)
To the Post Bottom you Find Link to Installing the Tomcat7 Java Web-Server for OpenSuse 12 Linux.
The Screenshots of Installation Correspond to the Install on a OpenSuse 12 GNOME Desktop but the Procedure on KDE, XFCE… Should be Near Identical.
So Take the Time of Carefully Reading and Executing the Instructions Contained Here and All should Work Like a Breeze :)
Download Oracle-Sun Java SE JDK 7:Oracle JDK Linux x64.rpm
Select the Open with Package Installer Option
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…
In Case the Package Manager if Failing Find the Command Here:OpenSUSE Installing .rpm with Dependencies
Managing Multiples Java Versions with update-alternatives
sudo su -c "zypper in update-alternatives"
Find the Java JDK Version in Use:
To Switch the Java JDK Version:
su -c "update-alternatives --config java"
Quick Start Java JDK Development:Getting-Started Quickly with JDK
Guides to Installing the Tomcat 7 Server on Linux OpenSuse: