Spreadfirefox Affiliate Button
Custom Search

Sunday, April 19, 2009

Make Firefox Java Plugin Work

I try to download from kissyoutoube.com and the java applet didn't running yet.However, I was frustrated to discover that the Firefox browser didn't display the websites containing java applets with the default settings, even if you have the updated JRE installed. After a few searches and referring half a dozen websites, I found out that Firefox was using Java Iced Tea (OpenJDK) to render applets. This seemed like the primary source of the problem.

You can check the java version installed on your system as below:

java -version

And then, I install sun-java6-jre from Synaptic Packet Manager.

Finally, you need to create a soft link for the java plugin in the firefox plugin directory as shown below

sudo ln -s /usr/lib/jvm/java-6-sun-1.6.0.10/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox-3.0.8/plugins/libjavaplugin_oji.so

Now, since, you might have more than one java packages installed on your system, you will have to suggest Ubuntu to use the newly downloaded java 6 as shown below

sudo update-alternatives --config java

And, Voila! It's done. This will, hopefully, get your firefox browser to recognize and display java applets correctly.

Thanks to http://blogs.sun.com

No comments: