java plugin in ubuntu 12.04

IcedTea java plugin  is broken right now in ubuntu 12.04.
So I’ve downloaded java 7 from oracle and did:

sudo rm  /etc/alternatives/mozilla-javaplugin.so

sudo ln  -s /home/user/opt/jdk1.7.0_05/jre/lib/i386/libnpjp2.so /etc/alternatives/mozilla-javaplugin.so

And it works!
Test it with about:plugins in firefox.Hope it helps.

source: http://www.oracle.com/technetwork/java/javase/manual-plugin-install-linux-136395.html

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s