Covered Topics

Please see the list of the topics I've covered. It's located near the bottom of the page. Thanks for stopping in!!

Monday, May 2, 2011

Update: Activating Java Environment in Firefox

Long-time readers of my blog will remember my post regarding activation of Java runtime environment in Firefox web browser. Here's the link to that post:
http://inkarlslab.blogspot.com/2010/07/getting-java-to-work-in-firefox-366.html

LINUX users need to place a symbolic link to libnpjp2.so in their /usr/lib/mozilla/plugins directory.

To recap, here's how to do it - it's changed as of a couple Firefox releases ago:

Go to your /usr/lib/mozilla/plugins directory, su to root.

Type the following command [this is assuming you are using Java Version 1.6.25; if not then enter the version you are using]

ln -s /usr/java/jre1.6.0_25/lib/i386/libnpjp2.so

Because of an apparent problem with Oracle Java, users with SE LINUX enabled will
need to perform this additional command to adjust SE policy so that the plugin will work:

Again, as root -
chcon -t execmem_exec_t /usr/lib/firefox-3.6/firefox

MANY THANKS to these people for posting this solution!
http://www.mjmwired.net/resources/mjm-fedora-f14.html#java

And the original bug report - Bug 628031:
https://bugzilla.redhat.com/show_bug.cgi?id=628031
https://bugzilla.redhat.com/show_bug.cgi?id=628031

And the Fedora-forum thread on this subject:
http://www.fedoraforum.org/forum/showthread.php?t=255314

Here is the link for testing your installation:
http://java.com/en/download/installed.jsp?detect=jre&try=1

It would be really nice if Mozilla and Oracle (the current makers of Java runtime) would post information on their web sites detailing this. It would also be really nice if Oracle would fix their code as discussed in the Bugzilla report.

Hope this post helps someone!!

No comments:

Post a Comment

Constructive comments are welcome! Spam, or any abusive or profane comments will be deleted.