2012-08-28

Ubuntu + Chomium/Chrome + Java7 plugin [EN]

I've reinstalled Ubuntu 12.04 LTS just few days ago, and last night I've noticed java7 plugin wasn't working. But firefox It was ok.

Today I've solved the problem (notice that I'm using chromium-browser not google chrome, but the problem and the solution would be the analogues), follow these steps:

cd /usr/lib/chromium-browser/plugins/
sudo ln -s /opt/jre1.7.0_05/lib/i386/libnpjp2.so .

or just:

sudo ln -s /opt/jre1.7.0_05/lib/i386/libnpjp2.so /usr/lib/chromium-browser/plugins/
If we want to use java7 packed by Ubuntu

sudo ln -s /usr/lib/jvm/java-7-openjdk-i386/lib/i386/libnpjp2.so /usr/lib/chromium-browser/plugins/

Happy hacking!!!

No hay comentarios: