One week ago I succeed to install the Sun’s Java Runtime Environment (JRE) on my Mandriva 2006. I avoid to use proprietary software as long as I can. Unfortunately I needed it to fill my annual tax form online…
So, here is how I achieve this:
Download the last JRE (v1.5.0-06 at that time) from Sun official website.
As root, launch:
1
$ sh ./jre-1_5_0_06-linux-i586-rpm.bin
(name of the file can change depending of the version number).
Accept the licence (tip: scroll down until the end of the text).
Back to the console, run:
1
$ urpmi ./jre-1_5_0_06-linux-i586.rpm
Go to mozilla system-wide plugin directory:
1
$ cd /usr/lib/mozilla/plugins
Create a symlink to the java plugin file:
1
$ ln -s /usr/java/jre1.5.0_06/plugin/i386/ns7/libjavaplugin_oji.so
Finished!
To check that java is well installed, type about:plugins in your Firefox browser URL field and check that java plug-in appear on the list.
Happy tax form filling!