Feb 20, 2014

HowTo: Install Java Plugins in Google Chrome / Firefox in Fedora 20

Step 1:
download Linux x64 RPM in http://www.java.com/en/download/manual.jsp?locale=en

Step 2:
open terminal and type the following (how to open terminal?)
su -
cd /home/**username**/Downloads (replace **username** with yours)
rpm -ivh jre-7u11-linux-x64.rpm
you will see some few errors but its ok

Step 3:
updatedb
locate libnpjp2.so
copy the path of the libnpjp2.so file

Step 4a: (Firefox Users)
cd /home/user/.mozilla/plugins (replace user with your username)
ln -s path/of/libnpjp.so

Step 4b: (Chrome Users)
cd /opt/google/chrome/
mkdir plugins
cd plugins
ln -s path/of/libnpjp.so


Step 5:
Edit java control panel to allow unsigned java applet to run on your machine, open a terminal (non-root account) then type
cd /usr/java/jre1.7.0_51/bin/
. ControlPanel

follow the instructions on the picture below (click security, set to MEDIUM, press apply)




Step 6:
close and run your browser. visit other java websites to check your java installation. My java installation wont work in java's website. the circle loading thingy just wont stop loading, but try it on other websites instead. Check the browsers for permissions!


3 comments:

  1. Chrome instructions don't work.
    In the past all you needed to do was install it for firefox and chrome would use the plugin at that location.

    https://www.java.com/en/download/faq/chrome.xml

    Java 7 and Chrome on Mac OS X and Linux
    Chrome does not support Java 7 on the Mac or Linux platforms.
    A 64-bit browser (Safari or Firefox, for example) is required to run Java 7 on Mac OS X. 32-bit browsers such as Chrome do not support Java 7 on the Mac platform. Firefox is the recommended browser for Java on Linux.

    I have yet give Iced tea a try

    ReplyDelete
  2. Firefox instructions worked like a charm!
    IcedTea does _not_ work well at all!
    Thanks!

    ReplyDelete