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
-
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
- logon as root
- cd /usr/local/
-
Run the file, by typing sh /full/path/to/download/jre-1_5_0_02-linux-i586.bin
- Proceed through the installation routine, including License Agreement.
-
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.
-
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)
- `ln -s /usr/local/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so
libjavaplugin_oji.so`
- Login as a normal user.
-
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)”);
Leave a Reply
You must be logged in to post a comment.