A few people were saying they had trouble getting the Java plugin working in Mozilla Firebird.

Here's what I did, and it worked. I was using debian unstable.

Mozilla installed using apt-get install mozilla-firefox

  1. Download the latest JRE from Sun. At the time of writing, this was version 1.5.0. These instructions assume the use of the "Linux (self-extracting file)" download. It is possible to install from the "Linux RPM (self-extracting file)" download, but you cannot use the instructions on this page. Try the Sun instructions on installing Java and the Sun instructions on registering the plugin with the browser. instructions: Install the java-package package, and use make-jpkg to create a java .deb

  2. logon as root
  3. cd /usr/local/
  4. Run the file, by typing sh /full/path/to/download/jre-1_5_0_02-linux-i586.bin

  5. Proceed through the installation routine, including License Agreement.
  6. For convenience, you may want to ln -s jre1.5.0_02 java. This then provides a path that's easier to type and that makes upgrading the java version in the future a lot easier too.

  7. cd /usr/lib/mozilla-firefox/plugins (note this directory is correct for Debian) or cd /usr/lib/mozillafirefox/plugins (apparently this is the directory on Fedora)

  8. `ln -s /usr/local/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so


  1. Login as a normal user.
  2. Run mozilla-firefox and visit http://www.sodaplay.com to test.

If this fails to work, and mozilla or firefox report "INTERNAL ERROR on Browser End: Expected a version > 5! Version = 4" when executed from a command prompt, the problem is the java plugin checks the user agent string for the browser version. bugzilla.mozilla.org refers. This can be corrected by editing the prefs.js file found in ~/.firefox and deleting lines begining with user_pref("useragentswitcher and user_pref("general.useragent.override", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)");

LinuxHints/MozillaFirefoxJava (last edited 2005-05-14 21:06:26 by 217)