I recently found myself needing to have the Java plug-in working on Ubuntu. I had been using Google Chrome, and thought that installing Chromium from the standard repositories would fix it – not so.
After some research, I found this article about getting Java working on Ubuntu 9.04 with Chromium. Strangely (or perhaps not) things have not changed in Ubuntu 10.04.
The simple description is the following:
- Place a copy of
libnpjp2in Chromium’s plugins directory:
- Make sure that
libjavaplugin*is removed from the plugins directory.
- Restart Chromium if necessary.
In the case of Ubuntu 10.04, I found
libnpjp2 to be part of Sun’s JRE (and in the
dgd@cor$ dpkg -S $(locate libnpjp2)
You can test the results by going to Sun’s Test Page.
The problems with IcedTea are related to the fact that the plugin is either in a unsupported plugin format, or more recently, linked against libraries that are not found when running Google Chromium.
Sun’s JDK with
libnpjp2.so works just fine; I’ll stick with that.