If you’re like me, at a new installation or upgrade of openSUSE, this webpage Verify Java Version will likely tell you that you need to install Java, or your Java is not up to date.
This guide will help you to install the latest Java from Java.com. I will provide screenshots of my computer as I go through this step-by-step guide.
Let’s get started shall we?
The first thing you’ll need to do is go to Download Java software for Linux from Sun Microsystems and download the Linux RPM (self-extracting file). If you’re using firefox it will automatically download to the Desktop, otherwise specify it to download to your Desktop folder to keep consistent with this guide.
Next, we’ll need to open up dolphin or konqueror or nautilus and get into our Desktop folder. Then right click on the jre-6u12-linux-i586-rpm.bin file you just downloaded (or whatever version you just downloaded) and click properties. Click on the Permissions tab and check “Is executable”.
Next we’ll need to open up a terminal (Konsole for kde users, or GNOME Terminal for GNOME users) and type this:
Enter your root password, hit the space bar to get to the bottom of the license agreeement, then type yes and this will create the .rpm file for you.
Next go into your /home directory and click on the .rpm file that was created for you. Enter your root password and this will open Yast2 up and it will take over as if you were installing any other .rpm file.
Next, you’ll need to create a symbolic link so your web browser can use the java plugin. Open up a terminal and type this:
enter your root password
ln -s /usr/java/jre1.6.0_12/plugin/i386/ns7/libjavaplugin_oji.so
note: this is one line!
All done! Now you can verify that java is successfully installed on your computer and the plugin works. Go to this site again Verify Java Version and test it out.
Hope this helps!