17

I've got Java working on Firefox in Ubuntu 11.04 (Natty Narwhal), but using the same page on Chromium tells me Java cannot be found.

How can I enable Java on Chromium in my Ubuntu 11.04?

3
  • 1
    Is Ubuntu restricted extras Installed ?
    – Binarylife
    Jun 6 '11 at 12:10
  • 1
    Installed and still no luck.
    – mrobertran
    Jun 6 '11 at 12:18
  • Can you try if it's not the specific page you are trying to see is causing the problem? Try other java pages to see if they work.
    – 719016
    Jun 6 '11 at 12:39
14

The first thing to do is to install Java:

$ sudo apt-get update
$ sudo apt-get install openjdk-7-jre icedtea-7-plugin

Restart chromium-browser and then use about:plugins to check if it's enabled.

2
  • 2
    No need for openjdk, icedtea-*-plugin is enough
    – dialex
    Feb 8 '14 at 16:12
  • 2
    I have both of those but don't see an option in about:plugins to enable it. Sep 3 '14 at 19:23
12
  • Go to : about:plugins
  • Under location: you should see enable (if it is disabled).

Java Plugin

This happened with me at first.

Also, see: Do I have Java? If it takes too long , it means that there isn't java installed or something went wrong during installation.

4

According to this

You can't. You would have to recompile Chromium and edit the line that disallows NPAPI.

1

You get the IcedTea-web Java browser plugin by installing the icedtea-plugin package.

You can quickly do this from the command line running:

sudo apt-get update && sudo apt-get install icedtea-plugin

Not the answer you're looking for? Browse other questions tagged or ask your own question.