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.
Looking at Ubuntu’s bug lists, this bug is related to getting IcedTea Java plugins working. The Google Chromium folks noticed this as well in a bug report of their own.
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.
5 thoughts on “Getting Java Working in Chromium in Ubuntu Lucid Lynx”
It did work! Thanks a lot!
thanks. useful post
but in keepvid.com it only shows “loading java applet”
what is the problem?
Your question is unhelpful and doesn’t give us enough information to even try and answer it. Read this venerable document from Eric Raymond on How to Ask Questions the Smart Way; once you’ve read it and done its recommendations, try asking us again.
Hi there! This is my 1st comment here so I just wanted to give a quick
shout out and say I truly enjoy reading through your blog posts.
Can you recommend any other blogs/websites/forums that go
over the same subjects? Thanks!