- Forums
- Linux Hosting
- How To Install Java Plugin Firefox Linux
this page will try to show you How To Install Java Plugin Firefox Linux in fedora centos redhat linux desktop gui KDE [1279], Last Updated: Mon Jun 24, 2024
Webune Support
Wed Apr 14, 2010
5 Comments
635 Visits
hello and welcome to Webune Support Forums. if you are a customer of Webune, you know sometimes we have to access our servers remotely and it helps when you have a gui and a browser to securely monitor any web panel administration through a secured machine. that is why are we are writing this short tutorial on how you can add or install the java JRE platform plugin for firefox running on linux. for this example, we are using this scenario:
OS: Linux Fedora Core 7
Browser: Mozilla Firefox
Sun Java Version: jre-1_5_0_20-linux-i586-rpm.bin
the first step is to start a console session. so start your shell. login as super user:
SHELL COMMAND:
su
create a java directory in usr/
SHELL COMMAND:
mkdir /usr/java
[NOTE: if the java directory already exists, skip this step]
go to the new java directory
SHELL COMMAND:
cd /usr/java
i am using firefox to donwload, so by default when i go to the sun website, it downloads it to my desktop so i can move the file to the /usr/java directory:
so i send this command:
mv /root/Desktop/jre-1_5_0_20-linux-i586-rpm.bin /usr/java/
NOTE: to download the latest version visit java.com:
http://java.sun.com/javase/downloads/5u20/jre
next we are going to make our executable:
SHELL COMMAND:
chmod a+x jre-1_5_0_20-linux-i586-rpm.bin
now we run it
SHELL COMMAND:
./jre-1_5_0_20-linux-i586-rpm.bin
agree to the Terms... after the RPM complete you will see a message that says:
Done.
now you will see a file called jre-1_5_0_20-linux-i586.rpm in the /usr/java/ directory
SHELL COMMAND:
ls
now run the RPM to install JAVA
SHELL COMMAND:
rpm -iv jre-1_5_0_20-linux-i586.rpm
you will see a message that says:
Pregparing packages for installation...
jre-1_5_0_20-linux-i586-rpm
/usr/java/jrel.5.0_20
now we are going to change current working directory by going to the firefox plugins directory:
SHELL COMMAND:
cd /usr/lib/mozilla/plugins/
now we are going to create symbolic link to our java plugin in the browsers plugins directory:
SHELL COMMAND:
ln -s /usr/java/jre1.5.0_20/plugin/i386/ns7/libjavaplugin_oji.so libjavaplugin_oji.so
done. you have completed the installing the JAVA plugin for firefox
now open your firefox and visit java.com to test it
http://www.java.com/en/download/installed.jsp