How to install JRE on Firefox 3.0.

Today, I would like to install JRE on my Firefox. You can follow these steps.

# sudo aptitude install sun-java6-jre sun-java6-plugin
# cd /usr/lib/firefox-3.0/
# sudo ln -s /usr/java/jre1.6.0_06/plugin/i386/ns7/libjavaplugin_oji.so .

You should to enable java on firefox , too

Edit->Preferences->Content Tab-> EnableJava