Step 1:
make sure your web browsers are close
Step 2: (i'm using F17 64bit)
download and install jre-7u4-linux-x64.rpm from this java website http://java.com/en/download/manual.jsp?locale=en
Step 3:
open a terminal then type the following,
su -
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:
run your browser
Bonus:
To open the java console, open a terminal (non-root account) then type
cd /usr/java/jre1.7.0_04/bin/
. ControlPanel
Thanks a lot, its helpful.
ReplyDeletewow thanks! I think your the first reader of my blog... except me. :P
DeleteSo I guess I'm the second reader ;-)
ReplyDeleteThank you for providing a simple easy-to-follow how to. It works.
I have some additional info that someone may find usefull.
For 32 bit versions of Fedora, you must download the rpm named i586, e.g. jre-7u7-linux-i586.rpm, otherwise the procedure to install is identical.
You can just use yum to install the rpm:
# yum install jre-7u7-linux-i586.rpm
It did complain a bit about not being able to open some files, but java works fine, so apparently it didn't matter...
Thanks again :-)
Thanks for the info, i forgot to mention that i am using 64bit.
DeleteHi, works fine w/ Fedora 17, but w/ 18 it cannot find libnpjp2.so. Any ideas?
ReplyDeleteMuch appreciate!
Hi Peter, I will add a guide once I get a copy of F18. Its been a while since I was able to play around with my fedora, too much time spent on windows 7 playing World of Tanks!! haha!
DeleteIt is actually there i.e. instructes work w/ Fedora 18, too!
ReplyDeleteHaha! 1st result of google for "fedora 17 java plugin firefox".
ReplyDeleteThanks for the helpful solution!
Btw good domain name =P
Cheers!
Andor
Thanks Andor! Glad I was able to help!
Deletesimple and easy...thank you...a lot...
ReplyDeletethe paths were different but works like a charm now...
cd /usr/lib/chromium-browser/plugins
ln -s /usr/java/jre1.7.0_17/lib/i386/libnpjp2.so
cd /usr/lib/mozilla/plugins
ln -s /usr/java/jre1.7.0_17/lib/i386/libnpjp2.so
https://fedoraproject.org/wiki/Java/FAQ?rd=JavaFAQ
ReplyDeleteIt's bit quicker if you use IcedTea!
su -c "yum install icedtea-web"
I was having troubles trying to enable Java in Chrome under Fedora 19. This command did the job
Deletesu -c "yum install icedtea-web"
and it is the easiest way to eneable it.
Thank you Nathan Holland for this link and thanks to renegadex for this blog.