IcedTea plugin for OpenJDK 8

Solution 1:

At the moment, icedtea-8-plugin is not available in the official Ubuntu repositories. Maarten Fonville offers a PPA repository with a working icedtea-8-plugin package.

sudo add-apt-repository ppa:maarten-fonville/ppa
sudo apt-get update
sudo apt-get install icedtea-8-plugin

Bug report: https://bugs.launchpad.net/ubuntu/+source/icedtea-web/+bug/1385842

PPA page: https://launchpad.net/~maarten-fonville/+archive/ubuntu/

If you're using Ubuntu 14.04 (for which openjdk-8-jre is not yet backported), then for the time being the OpenJDK ppa must be added first:

sudo apt-add-repository ppa:openjdk-r/ppa

Recent versions of Chrome do not support the Java plugin (cf. How do I get Java plugin working on Google Chrome?).

Solution 2:

The file you want to install is icedtea-plugin. Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo apt-get install icedtea-plugin

Solution 3:

When you are not sure what's the exact name of package like icedtea-7-plugin or icedtea-8-plugin, etc. Do a package name wise search before installing, for example search for "icedtea" word as follows:

$ sudo apt-get update
$ apt-cache search icedtea

This will display the matching package with word "icedtea" as follows:

icedtea-8-plugin - web browser plugin based on OpenJDK and IcedTea to execute Java applets
icedtea-netx - NetX - implementation of the Java Network Launching Protocol (JNLP)
icedtea-netx-common - NetX - implementation of the Java Network Launching Protocol (JNLP)
icedtea-plugin - web browser plugin to execute Java applets (dependency package)

By this you can decide which one to install..!

With the above output, use:

$ sudo apt-get install icedtea-8-plugin

The prior searching of package name will be helpful for any packages you need to install. If you are having back port issue, for the case of Ubuntu 14.04, then you may refer answer from @jthetzel.