An older recipe for installing a Java plugin for the then new version of Mozilla (e.g., 2:1.3.1-3) which was compiled with gcc 3.3 was:
$ mkdir j2sdk-1.4.1-01-linux-i586-gcc3.2 $ cd j2sdk-1.4.1-01-linux-i586-gcc3.2 $ wget ftp://ftp.easynet.be/blackdown/JDK-1.4.1/i386/01/j2sdk-1.4.1-01-linux-i586-gcc3.2.bin $ wget http://twolife.free.fr/debian/j2se1.4-i586_1.4.1.0.1-4.diff $ patch -p1 -i j2se1.4-i586_1.4.1.0.1-4.diff $ debuild -uc -us $ cd ../ $ wajig install j2re1.4_1.4.1.0.1-4_i386.deb
Then visit the URL about:plugins to ensure it is recognised.
Another approach was to leave it to Mozilla to download a Java Plug-in:
As root start up Mozilla. Enable Java (Edit->Preferences->Advanced->Java) Visit a java page (http://datamining.csiro.au/ssh) Auto install the plug in. As root: cd /usr/lib/mozilla/plugins (make sure appropriate link exists) chmod -R go+rX java2 As user browse to "about:plugins".
Another, essentially same, recipe is:
<download jre.xpi> ftp://ftp.netscape.com/pub/netscape6/english/6.01/unix/linux22/xpi/jre.xpi # unzip jre.xpi -d $MOZILLA_FIVE_HOME/plugins 'jre-image-i386/*' # cd $MOZILLA_FIVE_HOME/plugins # ln -s jre-image-i386/plugin/i386/ns600/libjavaplugin_oji.so .