|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Unreviewed How To and FAQ POST HERE: Tips and solutions for SUSE Linux from the community. (Please do not post questions) |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
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.
It will look like this. 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: Code:
sudo /home/username/Desktop/jre-6u12-linux-i586-rpm.bin 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: Code:
su Code:
cd /usr/lib/browser-plugins Code:
ln -s /usr/java/jre1.6.0_12/plugin/i386/ns7/libjavaplugin_oji.so 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. It should now look like this Hope this helps! Ian
__________________
Laptop: Dell Inspiron E1505 | OpenSUSE 11.2/Windows XP | KDE 4.3.3 "3" | Intel CPU T2050 1.6 GHZ | Intel 945GM | 3.2GB RAM Box: OpenSUSE 11.2/Windows XP | KDE 4.3.3 "3" | Intel Celeron 2.53 GHz | Intel 915G | 1.2 GB RAM |
|
||||
|
I've also written a How To for installing 32-bit Java using Yast (from the repositories). You can find that here:
Installing 32-bit Java the Yast way - openSUSE Forums
__________________
Laptop: Dell Inspiron E1505 | OpenSUSE 11.2/Windows XP | KDE 4.3.3 "3" | Intel CPU T2050 1.6 GHZ | Intel 945GM | 3.2GB RAM Box: OpenSUSE 11.2/Windows XP | KDE 4.3.3 "3" | Intel Celeron 2.53 GHz | Intel 915G | 1.2 GB RAM |
|
|||
|
Quote:
Code:
rpm -qa --last "*java-1_6_0-sun*" java-1_6_0-sun-plugin-1.6.0.u13-1.1 Tue Mar 24 22:15:45 2009 java-1_6_0-sun-alsa-1.6.0.u13-1.1 Tue Mar 24 22:15:45 2009 java-1_6_0-sun-1.6.0.u13-1.1 Tue Mar 24 22:15:37 2009
__________________
“Never attribute to malice that which can be adequately explained by stupidity.” (R.J. Hanlon) |
|
||||
|
What repository are you getting that from? I still only have up to update 12 and that code that you used didn't show any output on my computer. I refreshed all my repositories before I tried too.
__________________
Laptop: Dell Inspiron E1505 | OpenSUSE 11.2/Windows XP | KDE 4.3.3 "3" | Intel CPU T2050 1.6 GHZ | Intel 945GM | 3.2GB RAM Box: OpenSUSE 11.2/Windows XP | KDE 4.3.3 "3" | Intel Celeron 2.53 GHz | Intel 915G | 1.2 GB RAM |
|
|||
|
Rebuild using the "nosrc.rpm" for u12 from openSUSE-update repo as a template.
Then certainly the package(s) created by this rpm.bin-installer have another name that does not fit this search pattern (which may cause problems/file conflicts when upgrading to java from official repositories if you do not uninstall the "hand crafted" rpms before).
__________________
“Never attribute to malice that which can be adequately explained by stupidity.” (R.J. Hanlon) |
|
||||
|
Oh, alright. That's neat. I only knew of two ways to install Java. One from the repositories from just choosing it in Yast and then from the java.com website.
They install into different directories so maybe that's why the command didn't work to check it?
__________________
Laptop: Dell Inspiron E1505 | OpenSUSE 11.2/Windows XP | KDE 4.3.3 "3" | Intel CPU T2050 1.6 GHZ | Intel 945GM | 3.2GB RAM Box: OpenSUSE 11.2/Windows XP | KDE 4.3.3 "3" | Intel Celeron 2.53 GHz | Intel 915G | 1.2 GB RAM |
|
|||
|
Quote:
Read the section about querying packages in "man rpm" for more information.
__________________
“Never attribute to malice that which can be adequately explained by stupidity.” (R.J. Hanlon) |
|
||||
|
Thanks for the info! I'm still quite new to learning and experimenting with linux so it's always great to learn something new.
When I use Code:
rpm -qa --last "*jre*" Code:
jre-1.6.0_13-fcs Fri 27 Mar 2009 04:46:24 AM EDT
__________________
Laptop: Dell Inspiron E1505 | OpenSUSE 11.2/Windows XP | KDE 4.3.3 "3" | Intel CPU T2050 1.6 GHZ | Intel 945GM | 3.2GB RAM Box: OpenSUSE 11.2/Windows XP | KDE 4.3.3 "3" | Intel Celeron 2.53 GHz | Intel 915G | 1.2 GB RAM |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|