Enable the jre plugin in chrome and firefox in ubuntu 9.04

Enable the jre plugin in chrome and firefox in ubuntu 9.04
Guys, (Ubuntu 9.04)

Before all this make sure that you have Java correctly installed. First I tried to installed java under my home directory, failed. I mean I though I have installed it, but it actually did not. (used exact same steps from www.java.com). Then I tried to install it under /usr/ directory, failed. Finally I tried to install it under /opt/, succeed. 

Then i followed the same routine "symbolic link" stuff for both of my web browsers (Firefox, Chrome), succeed. :)

for Chrome:
  >  mkdir /opt/google/chrome/plugins
  >  cd /opt/google/chrome/plugins
  >  ln -s /opt/java/jre1.6.0_17/lib/i386/libnpjp2.so 

for Firefox:

>cd <Firefox installation directory>/plugins
>ln -s /opt/java/jre1.6.0_17/lib/i386/libnpjp2.so 

restart them!

hope it works

你可能感兴趣的:(Enable the jre plugin in chrome and firefox in ubuntu 9.04)