Get Social

Howto install latest java and plug-in to chromium

Install build java utility:

aptitude install java-package

After that – go to link and download archive for your system (in my case it was: Linux x64 131.8 MB jdk-7u51-linux-x64.tar.gz). Compile deb-package:

make-jpkg jdk-7u51-linux-x64.tar.gz

(We could download rpm package and used the alien utility to convert it to deb, but [we are not looking for easy ways]||[it seems make-jpkg compiled package will be more correct] ). Now install it:

su
dpkg -i oracle-j2sdk1.7_1.7.0+update51_amd64.deb

To connect it to the browser, we do so:

mkdir ~/.config/chromium/plugins
ln -s /usr/lib/jvm/j2sdk1.7-oracle/jre/lib/amd64/libnpjp2.so ~/.config/chromium/plugins/libjavaplugin.so

Even without restarting the browser, you can immediately go to the link and check the version of java.

Post a comment