Install Firefox with java support Ubuntu 18.0


First, make sure you have installed the JRE or JDK. For this example I use the JDK installed in the directory: /opt/jdk1.8.0_201

Execute these commands:

sudo dpkg --add-architecture i386
sudo apt update
sudo apt install libc6:i386
sudo apt-get install lib32stdc++6
sudo apt install libgtk-3-0
sudo apt-get install ia32-libs


Create a directory of the installation

sudo mkdir -p /opt/firefox/50/64/
cd /opt/firefox/50/64/

Download the Firefox, version 50:

sudo wget

Uncompress it

tar xjvf firefox-50.0.tar.bz2

Create the directory .mozilla/plugins in the home directory of the user:

mkdir -p ~/.mozilla/plugins
cd ~/.mozilla/plugins

Create a soft link to enable the java ( inside of plugins directory:

ln -s /opt/jdk1.8.0_201/jre/lib/amd64/ ~/.mozilla/plugins/

Start Firefox:




1. Menu –> Add-ons


2. The Java plugin must be in the plugin list