Jan 30, 2013

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

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
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:

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:
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.

To open the java console, open a terminal (non-root account) then type
cd /usr/java/jre1.7.0_04/bin/
. ControlPanel


  1. Thank you. I have been trying to figure this out for a day. Now I can administrate my promox server from linux while i study for my Linux+.

  2. Bless you! I've been fighting with Java for the last hour. This guide was so simple and effective!


  3. Thank you.Thank you. I try to search to fix this problem on fedora 18 for days until i got to you blog.Fix my problem on both chrome & firefox .woooo!hoooooo!

  4. Thank you!


    ln -s /usr/java/jre1.7.0_45/lib/amd64/libnpjp2.so

  5. Thank you !
    sudo ln -s /usr/java/latest/lib/amd64/libnpjp2.so
    on 64-bit fedora system

  6. Thank you ! I was struggling and struggling since many days and installing java again and again still not working . I followed your steps and its working :)