Skip to content

Instantly share code, notes, and snippets.

@thiago-vieira
Last active December 15, 2015 20:59
Show Gist options
  • Save thiago-vieira/5322621 to your computer and use it in GitHub Desktop.
Save thiago-vieira/5322621 to your computer and use it in GitHub Desktop.
preparing chrome and firefox to use Java on Ubuntu
# first, download JRE on www.java.com and install it (jre installed by apt-get not work)
# For Chrome:
sudo mkdir /opt/google/chrome/plugins
sudo ln -s /usr/java/jre1.7.0_17/lib/i386/libnpjp2.so /opt/google/chrome/plugins/
# For Firefox:
sudo ln -s /usr/java/jre1.7.0_17/lib/i386/libnpjp2.so /usr/lib/firefox/plugins/
# Firefox 22 for Min
sudo ln -s /usr/java/jre1.7.0_25/lib/i386/libnpjp2.so /usr/lib/firefox/browser/plugins/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment