installing Java

Hi all,

I use openSuse 11, 64 bit.

I would like to install Java, but do not know how. I can find the Java-site, I can download to my hard disk, but I can’t install.

Any help would be greatly appreciated.

Thank you,

W

I thought Java was on the install DVD or in the repos.

Replace the openjdk Java packages you have with these
ImageBam - Fast, Free Image Hosting and Photo Sharing

Yast - Software management
search for java

Thanks for your answer.
There seems to be a wealth of Java-things on the DVD, but I do want to download the latest version from Java itself.

I’m sorry, I really appreciate your reflection, but it does not help me to install Java.

W

with these …
I’m afraid there might be something missing in your reply ?

Could you be a bit more specific please ?

Thank you,

W

wba wrote:
> Could you be a bit more specific please ?

specifically: use YaST or Zypper to install java and all other
programs you need…

apparently you are relatively new to Linux…so, i guess you used
something else before Linux…maybe you are used to (for example)
going to the Sun site, finding and clicking a download button, then
double clicking a zip or exe file to install…

we do not do it that way here…that is so LAST CENTURY, instead
find in your menu YaST, click it, give your root password, then click
on Software Management and search for java…very soon you will see
something similar to car4926’s jpg…

when you find it, do NOT go crazy and click everything with ‘java’ in
the title just because it is FREE…

you probably will benefit from readying the openSUSE concepts, here:
http://en.opensuse.org/Concepts

now, if you insist that you must have the very latest java from Sun,
then go ahead and get it:

  • by going to java.com
  • click on the download button
  • read “Please use the 32-bit version for Java applet and Java Web”
  • click, read and follow “instructions”

and, by the way: generally it is a LOT safer and easier to just use
YaST…and, usually that version is the LATEST stable and usable
version…the one you get from the source may or may not work…


palladium

Just install whatever version is available on the DVD using Yast or zypper and then you can update it to the latest version using the same tools.

There are 2 different versions available viz. openJDK version, Sun version. You can even install both and switch between the 2 too.

For Sun JRE:
sudo zypper install java-1_6_0-sun
sudo zypper install java-1_6_0-sun-plugin

For Sun JDK:
sudo zypper install java-1_6_0-sun-devel

Considder:
sudo zypper install java-1_6_0-sun-alsa
sudo zypper install java-1_6_0-sun-jdbc

These are openSuSE packages from the binaries distributed by Sun on the Java website. Updates usually are available soon after Sun updates theirs.

I personally suggest you remove the openjdk stuff as it has caused me issues in the past.

Thanks for your elaborate answer.
Yes, I’m fairly new to Linux, and yes, I come from Windows XP.

I’ll try your instructions and keep you informed on my succeeding.

Thanks to everyone who has given SMART help.

W

Its just a matter of transition, even windows can be hard to use for those who never used it, or have not used it in years.
Windows feels so alien to me now after 5 years with linux