How can I enable Java in Chromium? [duplicate]

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

4 Answers

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
  • 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.

According to this

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

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

You Might Also Like