Skip to content

Instantly share code, notes, and snippets.

@faleev
Created July 24, 2013 05:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save faleev/6068267 to your computer and use it in GitHub Desktop.
Save faleev/6068267 to your computer and use it in GitHub Desktop.
Enable Java in browsers
Follow these instructions to enable Java in your web browser on Ubuntu Linux.
Google Chrome
Become the root user by running the su command and then enter the super-user password. Type:
sudo -s
Create a directory called plugins if you do not have it. Type:
mkdir -p /opt/google/chrome/plugins
Go to Google chrome plugins directory before you make the symbolic link. Type:
cd /opt/google/chrome/plugins
Create a symbolic link. Type:
ln -s /usr/local/java/jre1.7.0/lib/amd64/libnpjp2.so
Restart your browser and test Java
Mozilla Firefox
Become the root user by running the su command and then enter the super-user password. Type:
sudo -s
Create a directory called plugins if you do not have it. Type:
mkdir -p /usr/lib/mozilla/plugins
Go to Google chrome plugins directory before you make the symbolic link. Type:
cd /usr/lib/mozilla/plugins
Create a symbolic link. Type:
ln -s /usr/local/java/jre1.7.0/lib/amd64/libnpjp2.so
Restart your browser and test Java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment