rykel
June 5th, 2005, 07:21 PM
Title: How to set up Java Runtime Environment (JRE) with Firefox autopackage in Ubuntu Hoary
Adapted from http://www.ubuntuguide.org
Hi there,
If you had removed the Ubuntu Firefox 1.0.3 and installed the Firefox 1.0.4 autopackage, you will inevitably wonder how you can get your Java, Flash and MPlayer plugins to work with your spanking new browser.
This HOWTO is designed to show you how simple it is to do precisely that.
Thanks to Chua at the Unofficial Ubuntu Guide for his original instructions.
The JRE you might have installed earlier following instructions from the Unofficial Ubuntu Guide cannot be used with the Firefox autopackage, but the reason is basic. The Ubuntu Firefox resides in the "/usr/lib/mozilla-firefox" folder, while the Firefox autopackage stays in "/usr/lib/firefox" folder.
You can download the LATEST Firefox autopackage here and install it, if you have not done so already. Thanks to Taj Morton for making the autopackage available.
Firefox autopackages:
http://www.wildgardenseed.com/Taj/autopackage
HOW TO SETUP JRE AFTER INSTALLING FIREFOX AUTOPACKAGE:
Download the Java Manual Installer from java.com. (jre-1_5_0_02-linux-i586.bin)
Save to your Desktop.
Open up a terminal and issue the following commands:
__________________________________________________ _______________
cd ~/Desktop
sudo ./jre-1_5_0_02-linux-i586.bin
sudo mkdir /usr/java
sudo mv jre1.5.0_02/ /usr/java/
sudo chown -R root:root /usr/java/jre1.5.0_02/
sudo ln -fs /usr/java/jre1.5.0_02/bin/java /usr/bin/java
sudo ln -fs /usr/java/jre1.5.0_02/bin/java_vm /usr/bin/java_vm
sudo ln -fs /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/
sudo ln -fs /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox/plugins/
java -version
__________________________________________________ _______________
Instructions for Flash and MPlayer are similar, but a really FAST way to do it, is to simply copy the files in the "/usr/lib/mozilla-firefox/plugins" folder to "/usr/lib/firefox/plugins".
I hope that soon, even Flash and MPlayer will come as autopackages, and that way, they will install their plugins automatically into the correct and relevant folders when they "check for Firefox plugin folder".
Best Regards,
Rykel
Singapore
Adapted from http://www.ubuntuguide.org
Hi there,
If you had removed the Ubuntu Firefox 1.0.3 and installed the Firefox 1.0.4 autopackage, you will inevitably wonder how you can get your Java, Flash and MPlayer plugins to work with your spanking new browser.
This HOWTO is designed to show you how simple it is to do precisely that.
Thanks to Chua at the Unofficial Ubuntu Guide for his original instructions.
The JRE you might have installed earlier following instructions from the Unofficial Ubuntu Guide cannot be used with the Firefox autopackage, but the reason is basic. The Ubuntu Firefox resides in the "/usr/lib/mozilla-firefox" folder, while the Firefox autopackage stays in "/usr/lib/firefox" folder.
You can download the LATEST Firefox autopackage here and install it, if you have not done so already. Thanks to Taj Morton for making the autopackage available.
Firefox autopackages:
http://www.wildgardenseed.com/Taj/autopackage
HOW TO SETUP JRE AFTER INSTALLING FIREFOX AUTOPACKAGE:
Download the Java Manual Installer from java.com. (jre-1_5_0_02-linux-i586.bin)
Save to your Desktop.
Open up a terminal and issue the following commands:
__________________________________________________ _______________
cd ~/Desktop
sudo ./jre-1_5_0_02-linux-i586.bin
sudo mkdir /usr/java
sudo mv jre1.5.0_02/ /usr/java/
sudo chown -R root:root /usr/java/jre1.5.0_02/
sudo ln -fs /usr/java/jre1.5.0_02/bin/java /usr/bin/java
sudo ln -fs /usr/java/jre1.5.0_02/bin/java_vm /usr/bin/java_vm
sudo ln -fs /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/
sudo ln -fs /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox/plugins/
java -version
__________________________________________________ _______________
Instructions for Flash and MPlayer are similar, but a really FAST way to do it, is to simply copy the files in the "/usr/lib/mozilla-firefox/plugins" folder to "/usr/lib/firefox/plugins".
I hope that soon, even Flash and MPlayer will come as autopackages, and that way, they will install their plugins automatically into the correct and relevant folders when they "check for Firefox plugin folder".
Best Regards,
Rykel
Singapore