R: [PLUTO-help] Mozilla 1.2 to 1.4 Netscape 7.1 Java plug-in errors
Luciano Lucini
luciano a smapfil.it
Sab 29 Nov 2003 11:33:44 CET
Secondo me il problema sta che per mozilla bisogna usare :
/usr/java/j2re/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
e non :
/usr/java/j2re/plugin/i386/ns610/libjavaplugin_oji.so
----------------------------------
Prova con queste istruzioni non sembrano male perché ha creato dei link
per poi poter fare l'upgrade senza dover rimodificare tutto :
My steps to install java in Linux:
1) download from http://java.sun.com/j2se/1.4.2/download.html the Linux
RPM in self-extracting file (JRE)
2) It is a binary file, so chmod +x j2re-1_4_2_02-linux-i586.rpm.bin ...
and ./j2re-1_4_2_02-linux-i586.rpm.bin
3) Accept the license and then you will have the
j2re-1_4_2_02-linux-i586.rpm package.
4) rpm -ivh j2re-1_4_2_02-linux-i586.rpm
5) cd /usr/java
6) ln -s j2re1.4.2_02 j2re ; ln -s j2re/javaws
7) export into /etc/profile JAVA_HOME=/usr/java/j2re and add
/usr/java/j2re/bin to the path, save /etc/profile and run # source
/etc/profile
8) cd /usr/local/bin ; ln -s /usr/java/javaws/javaws
9) cd /usr/lib/mozilla/plugins ; ln -s
/usr/java/j2re/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
and that's all! 8)
To upgrade a new j2re version it's so easy as:
1) rpm -Uvh j2re-1_4_(new_version).rpm
2) cd /usr/java
3) ln -sf j2re1.4.(new_version) j2re
4) Look if the plugin is different...
_________________________________________
Oppure con queste :
How to install the Java PLugin in Mozilla 1.4.1
Mozilla 1.4 and later, and Mozilla Firebird, are compiled with gcc
3.2.3. A gcc 3.x compatible version of the Java plugin must be used. JRE
1.4.2 contains a compatible plugin.
go here java.sun.com and download the file
j2re-1_4_2_02-linux-i586-rpm.bin.
Now, make the file executable as root by typing:-
chmod +x j2re-1_4_2_02-linux-i586-rpm.bin
then (as root) run the file by typing:-
.j2re-1_4_2_02-linux-i586-rpm.bin
Please notice the 'dot' infront of the filename (allows you to RUN the
file). Next, accept the license aggreement and it will then expand the
rpm for you.
Lets rpm the file now, (as root) do:-
rpm -ivh j2re-1_4_2_02-linux-i586-rpm
logout as root and login as a normal user (eg: anyweb), create a plugins
directory in your mozilla directory:-
eg: mkdir /home/anyweb/.mozilla/plugins
and now change directory to the plugins directory:-
eg: cd /home/anyweb/.mozilla/plugins
Assuming you downloaded the file above (current) then issue the
following command as normal user while in the plugins directory:-
ln -s
/usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
Thats it, close mozilla and then start mozilla again, if all went well,
click on help/plugins and you should see several Sun Java references !
Ciao Luciano
More information about the pluto-help
mailing list