I am trying to install Java and plugins for Firefox. I installed both the JDK and JRE.
When I try with the
sudo update-alternatives --config java command it shows only one choice available.
Plugins are not usable in Firefox.
You only installed the OpenJDK JRE, which would allow you to execute Java binaries locally using the
Then go to
Installing the IcedTea Java plugin:
To install the IcedTea Java plug-in, open a terminal and type:
In a terminal:
Remove the IcedTea plugin, if it has been installed.
Remove a former version of the Java plugin (may or may not be present)
Now you can install the plugin, by creating a symbolic link (you tell Firefox where the plugin is located). For 32-bit Java, use
For 64-bit Java use
Confirm that the JRE has been successful by using the official Oracle website.
Source: Java installation