In the past, on another PC,
here’s how I installed the “java 8u40” in openSUSE 13.1 - 64bit:
I did not use the “RPM” package, but the package “.tgz” (jre-8u40-linux-x64.tar.gz):
U’ve downloaded the Java 8u40 at the address
https://java.com/pt_BR/download/index.jsp
I uncompressed the tar.gz package - creating the “jre1.8.0_40” folder.
Today the package has another name: jre 1.8.0.0_60
I closed Firefox and done as described below:
I opened the Dolphin as root, and copy the folder “jre1.8.0_40” to “/usr/java/”
I applied this update-alternatives:
/usr/sbin/ update-alternatives --install “/usr/bin/java” “java” “/usr/java/jre1.8.0_40/bin/java” 40
And after this update-alternatives:
/usr/sbin/update-alternatives --install “/usr/lib/browser-plugins/javaplugin.so” “javaplugin” “/usr/java/jre1.8.0_40/lib/amd64/libnpjp2.so” 40
In the following two lines got two choices and both chose the option:
1 = /usr/java/jre1.8.0_40/lib/amd64/libnpjp2.so 40 manual mode.
/usr/sbin/update-alternatives --config java
/usr/sbin/ update-alternatives --config javaplugin
Finally I created the symbolic link:
ln -sf /usr/java/jre1.8.0_40/lib/amd64/libnpjp2.so /usr/lib64/browser-plugins/sunjava
Opening the browser can verify that the java is properly installed at the following address:
http://www.java.com/pt_BR/download/installed.jsp
And everything was fine.
But now, I’m trying to use OpenSuse 13.2 32bit
I made the necessary changes in the above command
For example, I changed “amd64” with “i386”
But it is not working.
Also, the following line does not work
/usr/sbin/update-alternatives --install “/usr/lib/browser-plugins/javaplugin.so” “javaplugin” “/usr/java/jre1.8.0_60/lib/amd64/libnpjp2.so” 60
The file “browser-plugins” does not exists
Any idea?