Since I always forget how to do this I figured I'd blog it for my own purposes so I don't have to sift through Google every time.
This assumes you have the JDK installed under /opt/java/jdk1.6.0_27 -- adjust accordingly if you have things installed elsewhere or only have the JRE.
Open up a terminal and do this:
cd /usr/lib/mozilla/plugins
sudo ln -s /opt/java/jdk1.6.0_27/jre/lib/amd64/libnpjp2.so
Then restart Firefox if it's running.
Now to look into doing this for Chrome ...
5 comments:
Hey Matt, I haven't tried Ubuntu 11.10 yet (still on Maverick/10.10), but I usually just use the `sun-java6-plugin` package to provide Java plugin support for a bunch of browers (Chromium, Firefox, etc.). I usually just install the JDK and the plugin with this one-liner:sudo apt-get install sun-java6-jdk sun-java6-pluginCheers!Jamie
Interesting... looks like Ubuntu 11.10 posts are all encouraging OpenJDK 7, which is supposedly 100% compatible with Sun/Oracle Java 7. The Ubuntu repos do not provide any Sun/Oracle Java packages any longer (neither Java 6 nor 7); so, either add a custom repo for the ol' sun-java6-jdk package, or OpenJDK, or handle it yourself (not difficult, but the packages provided a lot of convenience by creating a bunch of useful symlinks for us).
Excellent, works for me. Thanks.
Wow thanks i had been tooking for a solution for this problems 2 days in a row
Wow thanks i had been tooking for a solution for this problems 2 days in a row
Post a Comment