You can also confirm Java is working by visiting You should see Java(TM) Plug-in 11.91.2 under the list. Restart Firefox and type about:plugins into the URL bar. Ln -sf $JAVA_HOME/lib/i386/libnpjp2.so ~/.mozilla/plugins/ The other post recommends you put the plugin in the Firefox binary directory, but new versions of Firefox require you put plugins in your home directory under.
Update-alternatives -set java /opt/java/jre1.8.0_91/bin/java Update-alternatives -install /usr/bin/java java /opt/java/jre1.8.0_91/bin/java 1 Here's the abbreviated installation instructions:
Manually download Oracle Java and install as described from this StackOverflow post or this Wiki. Install Firefox 32-bit (this will automatically replace the 64-bit version): Sudo apt-get install libstdc++6:i386 lib32z1 lib32ncurses5 libxext6:i386 libxrender1:i386 libxtst6:i386 libxi6:i386 As in the original poster's guide, install the libraries needed by Juniper:.Set up apt-get to retrieve 32-bit versions as an option.Firefox will only run plugins that match its binary (32 or 64-bit). You cannot use the webupd8 Java installer to install Oracle's Java because it will always match your architecture and install the 64-bit version. You must manually install the 32-bit Firefox plugin.You must install 32-bit Oracle Java (not OpenJRE).You must install 32-bit Firefox (16.04 ships with the 64-bit version).
I recently needed to get this working as well.