JRE and flash plugin for Mozilla (Firefox/Iceweasel)

Currently both JRE5 and JRE6 are viable options. Install either one from the non-free section

apt-get install sun-java5-jre
or
apt-get install sun-java6-jre

link java plugin library to mozilla plugin directory, e.g., JRE6.

ln -s /usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so ~/.mozilla/plugins/libjavaplugin_oji.so

This works only for i386. On amd64 system

apt-get install java-gcj-compat-plugin

usually gives most people what they want. If it’s necessary to run sun java-plugin on amd64, a chrooted ia32 env is probably the only solution.

to have flash plugin, which is only available from the unstable (sid) branch

apt-get -t sid install flashplugin-nonfree

to use predefined priorities to automatically select one implementation of “flash”
between the multiple installed alternatives (this usually works for most people)

update-alternatives --auto flash-mozilla.so

to manually select one implementation of “flash” between the multiple installed alternatives :

update-alternatives --config flash-mozilla.so

Advertisements

3 Responses to JRE and flash plugin for Mozilla (Firefox/Iceweasel)

  1. ln -s /usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so ~/.mozilla/plugins/libjavaplugin_oji.so

    this command failed as their no such folder ~/.mozilla/plugins
    i have created & chmod it.then used the above command. Now sun-java6-plugin is working in Iceweasel. Thanks for the help 🙂

    • Herbert says:

      ~/.mozilla/plugins/lib… is just for one user.
      Where do I have to put libjavaplugin_oji.so to work for every user?

  2. sunni says:

    please install to apt-get install sun-java6-jre the plugin lib too in lenny copy cp /usr/lib/jvm/java-6-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/iceweasel/plugins/
    and nott Mozilla
    The libjavaplugin_oji.so find you in the sun-java6-plugin

    close the Browser and start again

    nice !

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

%d bloggers like this: