Use Sun Java plugin in Firefox for Ubuntu 12.04

  1. Download and expand a JRE or JDK using root account.  Record the path, e.g. /usr/lib/jvm/jdk1.6.0_23 (we call it <java path>).
  2. sudo update-alternatives --install "/usr/bin/java" "java" "<java path>/bin/java" 1
  3. mkdir -v ~/.mozilla/plugins (skip this if the directory already exists)
  4. cd ~/.mozilla/plugins
  5. ln -s <java path>/jre/lib/amd64/libnpjp2.so
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: