1

After an upgrade to Trusty Tahr (14.04), it seems Java has ceased to work in several browsers (tested on Firefox, Chromium, and Chrome).

ubuntu-restricted-extras is installed, Oracle-Java was installed using the webupd8 PPA, and I also tried applying a fix to an update-alternatives error, and installing IcedTea, to no avail.

How to activate Java plugins in the browsers?

6
  • 1
    Regarding Chromium, see here. Does installing OpenJDK 7 work for Firefox? Apr 22, 2014 at 15:37
  • @user68186 - icedtea is installed. Apr 22, 2014 at 16:28
  • @saiarcot895 - Does that mean that no Java plugin is available for chromium (or chrome) at the moment ?! Is everyone down at Google just ignoring that humongous elephant in the room? Apr 22, 2014 at 17:06
  • 2
    @EliranMalka: Java is outside of their control, and they have their reasons for deprecating NPAPI (security, permissions, etc.). As far as I know, the only way to use Java in the browser is to re-enable NPAPI (for the time being) by recompiling Chromium. Apr 22, 2014 at 17:11
  • 1
    I've got the same problem but recompiling Chromium is definitely not an option. It takes a horrendous amount of disk space and time. Will probably just use Firefox for the rare sites that require Java.
    – Daniel
    Apr 27, 2014 at 9:37

1 Answer 1

-1

Check the symbolic link in your browser's plugin directory and make sure it's pointing to the correct installation of Java (eg /usr/local/java/jre1.x.xxx/lib/amd64/libnpjp2.so)

2
  • no reason for it to change - checked to be libnpjp2.so -> /usr/lib/jvm/java-7-oracle/jre/lib/amd64/libnpjp2.so. Apr 22, 2014 at 16:55
  • I don't think this should get downvotes becuase it is what Oracle suggests. However I tried this too, and it did not work for me. Aug 19, 2014 at 10:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .