java plugin does not work in chromium-browser (all possible attempts exhausted)
Solution 1
As found at AskUbuntu:
Java (IcedTea) doesn't have a PPAPI plugin available, and so it's not usable in Chromium, since Chromium 34 in Trusty has switched to the Aura rendering framework and no longer allows NPAPI plugins. See also https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1308783.
I guess it's a same with Oracle Java plugin. At least it works with Firefox so you can use FF until the PPAPI implementation is available.
Solution 2
Have you enabled the plugin in the about:plugins
menu? To access this in your address bar type about:plugins
.
Make sure that the plugin has been enabled.
Other things to try
- Look through the open issues of Chromium. Here's a list of the open issues with JDK referenced.
- Confirm that the plugin is enabled through JDK's
./ControlPanel
dialog. Details here. - Other things suggested in the KB Mozillazine topic regarding Java.
- Try downgrading to an older version of the JDK just to confirm that the issue isn't with 1.7.0_51.
user2852606
Updated on September 18, 2022Comments
-
user2852606 over 1 year
I was using google chrome browser on Ubuntu 12.04 machine, recently I needed to switch to chromium-browser. I am using the version that is available on the Ubuntu software centre. The problem is that I can't make java applets to load any more.
Here is my situation --
- I am using vanilla jdk (jdk 1.7.0_51) from the oracle.
- Previously in chrome, I have created a symlink of
libnpjp2.so
to the/opt/google/chrome/plugins
folder, java applets were working fine. - After uninstalling chrome and installing chromium-browser, I made a symlink of
libnpjp2.so
to/usr/lib/chromium-browser/plugins
folder, but java applets do not fire up any more (even from this site: http://www.java.com/en/download/installed.jsp) - Even
libnpjp2.so
appears inabout:plugins
in chromium-browser and showing it's enabled.
What I have tried so far --
- After uninstalling chrome, the
/opt/google/chrome
was still there, I removed it - Made the symlink as the point 3 above to
/usr/lib/chromium-browser/plugins
, but no luck. - So I installed
icedtea-7-plugins
from the Ubuntu repo and made a symlink ofIcedTeaPlugin.so
to/usr/lib/chromium-browser/plugins
, but no luck, so I removed it. - Added the java applet test page to the exclusion list in the java control panel.
- Cleared temporary internet files from the java control panel.
- Did multiple cycles of "enable/disable" java plugins in chromium-browser.
- Firing up the chromium-browser with
-enable-plugins
switch did not work.
When I go to the java applet test page, what I can only see is a grey rectangle, nothing else. Please note, everything was working fine on chrome browser and also in firefox. Please also note I do not want to install openjdk stuffs.
any idea ?
-
user2852606 about 10 yearsthanks but I am afraid you did not go through my post, may be you thought TL;DR. Please see the point 4 in the first paragraph, and also see the point 6 in the second paragraph.
-
slm about 10 years@ramgorur - see updates for other leads.
-
TPS over 9 yearsthe question is on Ubuntu, your answer related only to windows.