‘Til All Are One

Freedom is the right of all sentient beings

July 13, 2009

Install 64-bit Java plug-in

Filed under: Fedora, RHEL/CentOS, Software, syndication-floss — Sridhar Dhanapalan @ 6:44 pm
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...

The OpenJDK plug-in that comes with modern distros is usually very good at handling Java in Web pages, but some applets are just stubborn. Thankfully, Sun have finally (after over six years!) released a plug-in for x86_64 Web browsers.

I managed to get the JDK version working on Fedora 11 and CentOS 5.3. Here’s the process.

  1. Firstly, download the JRE or JDK from Sun. You’ll need to get version 1.6 Update 12 or above. I got the RPM version.
  2. Run the install script to extract the bundle. On the RPM version, this automatically installs it to your system if you run the script as root.
  3. Execute this in a terminal:
    # ln -s /usr/java/default/jre/lib/amd64/libnpjp2.so /usr/lib64/mozilla/plugins

    This part took me a while to work out, as I was looking for a file called libjavaplugin_oji.so, the name of the x86_32 version.

  4. Restart Firefox and type about:plugins in the location bar to check if the new plug-in has been accepted.
  5. Enable the plug-in: Edit ? Preferences ? Content tab ? tick Enable Java
  6. You can test your plug-in at java.com and javatester.org

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

The content on this site is © Copyright 2002-2010 Sridhar Dhanapalan. Unless otherwise noted, content on this site is licensed under a Creative Commons Attribution-Share Alike 2.5 Australia Licence.
Creative Commons BY-SA Licence
Powered by Linux and Free Software