Wednesday, September 15, 2010

Java Plugin 64bits

As someone may have already notice I am using this blog more as a way to remind myself some little things to do when I install a new Linux than any other thing.

And here is another small but importante detail: In the newer versions of Sun Java for 64bits environments there is already a native plugin for your browser, in debian you just need to do this to be happy:

ln -s /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so

Since /usr/lib/jvm/java-6-sun is a link to the newest java-6 version, you will only need to change the link if you want to change the java from 6.x to 7.x (which is not likely to happen frequently), otherwise even in the usual java updates you won't need to worry about anything, except maybe a Firefox / Iceweasel messages saying that some plugins have been changed and it need to be restarted.

No comments: