
Mozilla browsers use plugin scanning to locate installed plugins so you should make sure that the preference has not been disabled: Make sure plugin scanning is not disabled Current Firefox releases are 32-bit browsers and you will need to install the 32-bit version of Java. On 64-bit Windows, if you only have the 64-bit version of Java installed, the Java plugin will not be available. There may be other ways to activate Java plugin in Firefox ESR, but this way really works.Make sure the 32-bit version of Java is installed To activate this plugin at Firefox ESR, you must create a symlink to the folder where is installed your Oracle Java: mkdir /firefox/browser/plugins I consider this as the best practice for Firefox, because OpenJDK will not install libnpjp2.so, essential to activate Java in Firefox ESR. In this case, Openjdk plugin didn't work with Firefox ESR, but Oracle Java, installed as followed from Digital Ocean tutorial.Īlthough they told that it's deprecated (because it applies to Ubuntu 12.04), the procedures are the same: you can use it in ubuntu 17.10, just downloading jdk 8u161. In fact, this solution doesn't depends on which kind of java is installed and operating in this system. Right-click on Name title, choose New Preference > BooleanĬreate a new entry with this label: plugin.load_flash_only Open your browser and type this: about:config Not clear why firefox has trouble using installed java. Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode) I am able to run java successfully through command line $ java -version The java command is a symlink to /etc/alternatives/java which is a symlink to /usr/lib/jvm/java-8-oracle/jre/bin/java I get this exception in the terminal from which firefox was startedĮxception in thread "main" Īt .JVMManager.getOrCreateBestJVMInstance(UnknownĪt .JVMManager.startAppletImpl(Unknown Source)Īt .JVMManager.startApplet(Unknown Source)Īt .MozillaPlugin.maybeStartApplet(Unknown Source)Īt .tWindow(Unknown Source)

With these changes, when I startup firefox and go the Īnd click on the link Firefox 52 ESR users: If you'd like to run the verify app as a plugin, please click here. Is a symlink pointing to /usr/lib/jvm/java-8-oracle. Made sure Oracle's java is the default java.

$ ln -s /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libnpjp2.so. In $HOME/.mozilla/plugins, created this symlink for java plugin $ cd $HOME/.mozilla/plugins Other than the ESR version of firefox, I don't have any other version ofĪdded 'plugin.load_flash_only = false' to about:config section of firefox. To use Java from browser, installed firefox ESR using these commands $ sudo add-apt-repository ppa:jonathonf/firefox-esr
