i am very new to SuseLinux. i need to install java1.6.0 in my suselinux11 operating system.i download “java-1_6_0-sun-plugin-1.6.0.u11-4.2.i586.rpm” i used this cmd to install java
rpm -i java-1_6_0-sun-plugin-1.6.0.u11-4.2.i586.rpm
but it’s giving error like this:
error: failed Dependencies:
java-1_6_0-sun = 1.6.0.u11-4.2 is needed by java-1_6_0-sun-plugin-1.6.0.u11-4.2.i586
jre-1.6.0-sun = 1.6.0.u11-4.2 is needed by java-1_6_0-sun-plugin-1.6.0.u11-4.2.i586
ya i check it’s enable only…once we download from the s/w repo. then what ll be the next step to install it…i used rpm cmd…but getting failed dependencies…
No need to install a JDK (Java Development Kit) for an ordinary user. Just install a JRE (Java Runtime Environment). You can download it from www.java.com. I would opt for downloading Linux RPM (self-extracting file).
I make it this way:
open the .bin file as an archive (I use 7-zip on Windows or in Linux via Wine, but ark, probably, should do it as well);
extract the RPM contained therein to any directory;
install the RPM, either:
3.1) right-click on the file in Konqueror (presuming, you use KDE 3.x) → Install with Yast2, or
3.2) become superuser and enter
rpm -ivh <name of the file>.rpm
now, the tricky thing: setting the newly installed JRE as default:
4.1) find, where the new JRE resides, should be somewhere in
/usr/java/jre1.6.0_07
4.2) in terminal (become superuser):