Installing Java, Macromedia Flash
Getting these popular plugins working with Firefox (Ubuntu)
Posted 24.06.2005 | Updated 23.05.2006 | Contributed by Noel Sowter


Installing Java plugin to Linux Mozilla-Firefox - A cautionary tale..

I first tried this using the instructions from the Sun download site. There were some issues with Ubuntu, which gave me grief.

Bugs with Ubuntu

Firstly, my version of Firefox was unsuitable for the plugin, because Ubuntu patched security updates to an old version equal to version 4, but the download wouldn't install because the version number wasn't right, so you have to upgrade Mozilla-Firefox to version 4 first.

Secondly, having downloaded the update and installed it, which is a joy and delight using command-line only to get the package into the right directory, I made the mistake of following the instructions for installing java runtime that were on the Sun site. It seems they got one of the filepaths wrong in the “enable” instructions. Maybe I mucked it up, but it didn't work until I found the correct filepath.

The Java package is a self-extracting file that sets up a number of subdirectories in the /usr/java directory (which you should create before starting). Then, from the /usr/lib/mozilla-firefox/plugins directory, you make a symbolic link to the java plugin. The command that finally got me my java fix was..

ln -s /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so libjavaplugin_oji.so

Now I can view Andy's Tech page in it's full glory!

Google for the following files or their updated equivalents:

firefox-1.0.4.installer.tar.gz [8.2M]
flash_player_7_linux.tar.gz [964K]
jre-1_5_0_02-linux-i586.bin [15.7M]



- N.