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.
|
I am trying to install Java and plugins for Firefox. I installed both the JDK and JRE. When I try with the 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:
Install the Firefox plug-in - OracleIn 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 |
|||||||||||||||||||||
|
|
Beginning in Firefox version 52, support for NPAPI plugins (java applets) in Firefox has ended, due to performance and security issues, the way that I manage to run java applets is to install the Extended Support Release (ESR) of firefox. download here: https://www.mozilla.org/en-US/firefox/organizations/all/ more details here: https://support.mozilla.org/t5/Problems-with-add-ons-plugins-or/Why-do-Java-Silverlight-Adobe-Acrobat-and-other-plugins-no/ta-p/31069 |
|||
|
|
|
If you just downloaded and installed java jdk from oracle, then, let's say you have installed jdk-8u91-linux-x64.tar.gz on /my/java/directory/ Then you'll have a directory like: /my/java/directory/jdk1.8.0_91/ All you have to do is go to your ubuntu firefox plugins directory and create a link:
|
|||||
|
|
This is an old thread, but I stumbled upon it while googling a solution to my problem today. I figured someone else might be in the same situation. I need in-browser Java for legacy work-related websites, and the oracle java plugin does not cut it. After a long trial-and-error approach, I got IcedTea working consistently in an older version of firefox like this:
One of my colleagues created a script to remove the old firefox, and untar it on every run. That way it never gets updated accidentally. Be sure not to do this with your main firefox application. I hope this helps you. |
|||
|
|
|
Its been a battle, especially since I went through this a couple of months ago with 14.04, forgot the solution, upgraded to 16.04..... It is different I had Iced-tea and Oracle working under firefox in 14.04. I actually prefer Oracle (not generally but my use almost requires it) so I only have that now. I did not attempt any multiple installs or repositories. Symlinks as per most of the instructions out there are no good either. In the end, in Firefox went to Edit--> Preference-->Applications then scrolled down to the JNLP file extension and picked "Use other..." from the drop down menu. Then found javaws from the relevant directory. It is only a workaround, and Im not sure if it will suit your needs. Keep in mind most plugins will be deaded by March. |
|||
|
|