Firefox Java Plugin Install Manualy

menguin

Geek
Pinoy Techie
UBUNTU

1) [ Download jre From Sun Java Site (.bin File) ]
2) [ move to opt directory ]

root@Maulin:/home/maulin# mv jre-6u26-linux-i586.bin /opt/

3) [ Execute or install .bin file ]

root@Maulin:/home/maulin# cd /opt/
root@Maulin:/home/maulin# sh jre-6u26-linux-i586.bin

4) [ tell the system, that there's a new Java version available. ]
root@Maulin:/home/maulin# update-alternatives --install "/usr/bin/java" "java" "/opt/jre1.6.0_26/bin/java" 1



5) [Set jre as Default ]
root@Maulin:/home/maulin# update-alternatives --config java
Select appropriate Choice of Your installed jre in my case it's 2

There are 3 choices for the alternative java (providing /usr/bin/java).

Selection Path Priority Status
------------------------------------------------------------

0 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 auto mode
1 /opt/java/jdk1.6.0_25/bin/java 1 manual mode
* 2 /opt/jre1.6.0_26/bin/java 1 manual mode
3 /usr/lib/jvm/java-6-openjdk/jre/bin/java 1061 manual mode

Press enter to keep the current choice[*], or type selection number:

6) [ Remove Iced Tea Plugin If Installed ]

root@Maulin:/home/maulin# apt-get remove icedtea6-plugin

7) [ Remove a former version of the Java plugin If Avaliable (not avaliable in my case) ]
root@Maulin:/home/maulin# rm -rf /usr/lib/mozilla/plugins/libnpjp2.so

8) [ create Soft Link to Firefox Global Directory to all users ]
root@Maulin:/home/maulin# ln -s /opt/jre1.6.0_26/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/

9) [restart Firefox And Check plugins installed or not ]
about:plugins in firefox browser or Java tester site

Fedora

1) [ Download jre form java or oracle site (self extract package .rpm.bin file) ]
2) [ execute .rpm.bin file ]
3) [ setup java run time using alternative command ]

alternatives --install /usr/bin/java java /usr/java/default/bin/java 20000

4) [ setup mozill plugin using alternatives]

alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so libjavaplugin.so /usr/java/default/lib/i386/libnpjp2.so 20000

5) [ set default shown in above using --config command ]
 

Similar threads


Top Bottom