Wednesday, June 24, 2009

Java Plugin

Upon getting a new PC with a Intel(R) Pentium(R) Dual CPU to play around with, I have encountered many problems due to the 64-bit architecture being used. Particularly, many applications still does not have the 64-bit version yet.

Among the problems is java plugin for firefox or in the case of debian, its iceweasel. Previously, sun did not have the 64 bit version java plugin for firefox. But I googled around and found out that recently, for the version java6 update 12, they have already include the 64 bit version plugin. Among the reference I found was at http://plugindoc.mozdev.org/linux-amd64.html which gives all supported plugins and what not for mozilla.

1) The easiest way to install sun java on debian is to:
$ aptitude install sun-java6-jdk
This will fortunately, as of this date, lenny installs java6 update 12.

2) After doing this, you will need to choose your default java to use. Just for compatibility with other applications, if you are using netbeans or what not. To choose the default java to use, type:
$ update-alternatives --config java
then select the sun java you just installed.

3) Next is to create a symbolic link for the firefox/iceweasel to the java plugin
$ cd /usr/lib/iceweasel/plugins
$ ln -s /usr/lib/jvm/java-6-sun-1.6.0.12/jre/lib/amd64/libnpjp2.so
That should install the java plugin for firefox, for x86_64 bit version, and those using the amd64 kernel.

4) I later restart firefox, and check to see if the java plugin is installed. At the location bar, i type about:plugins. To see if there is a java plugin support. Looks like things look good.


5) also tried to upload some pictures into facebook. The upload features requires java plugin. Seems to work great.

So there you go...java plugin seems to work. Have fun.

1 comment:

Anonymous said...

Mumbai escorts models call girls for dating, you should be sure to enjoy their sensual Independent Escorts services in Mumbai at your personal Place.
Mumbai Escort