The Road to Elysium

March 17, 2010

Firefox 3.6 and Java on Linux

Filed under: Linux — jorge @ 08:19

Finding that you’re lacking Java in Firefox 3.6 on Linux? The steps to install it are easy, but you have to do things a bit differently than you have in previous Firefox-versions.

First head over to the Download-section at http://www.java.com. Select to download the file named Linux RPM (self-extracting file) (if you’re using an RPM-based distribution like Fedora). Once it’s downloaded, and assuming it has been downloaded to the folder Downloads, do the following:

$ su -
# chmod +x /home/jorge/Downloads/jre-6u18-linux-i586-rpm.bin
# /home/jorge/Downloads/jre-6u18-linux-i586-rpm.bin

After agreeing to the license terms, just type Yes and press enter. Now making the plugin work with Firefox. I mentioned earlier that you have to do things a bit differently. Whereas we used the file libjavaplugin.so before, now we have to use the next generation Java plugin, namely libnpjp2.so. So execute the following command to make things work:

# ln -s /usr/java/latest/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/

Restart your browser, and you should have Java. Verify it at http://java.com/en/download/installed.jsp?detect=jre&try=1.

Enjoy!

3 Comments »

  1. [...] Firefox 3.6 and Java on Linux Filed under: Linux — jorge @ 08:19 [...]

    Pingback by FrickBook for iPhone » Blog Archive » Firefox 3.6 and install Java on Linux — November 2, 2010 @ 10:16

  2. It doesn’t work!

    Comment by Guest — December 18, 2010 @ 22:55

  3. @Guest: I wrote about this a while back, but I’ll get to writing a new post soon enough, so stay tuned. :)

    Comment by jorge — December 22, 2010 @ 05:25

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress