LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to link JRE with Mozilla Firefox (https://www.linuxquestions.org/questions/linux-software-2/how-to-link-jre-with-mozilla-firefox-345929/)

Jerel 07-23-2005 04:21 AM

How to link JRE with Mozilla Firefox
 
How do I link JRE with Mozilla Firefox? I have already installed it, but am facing difficulties understanding the instructions on the java homepage. Can someone help?

Thanks.

craymk7 07-23-2005 04:48 AM

Um, I'm no linux expert, but you want the jre-1_5_0_02-linux-i586.bin from www.java.com to show java applets in your browser?

Jerel 07-23-2005 05:18 AM

Yes. The current version is Jre-1_5_0_04. I've done the first part, now all i need is to link it with mozilla firefox.

craymk7 07-23-2005 05:34 AM

If your'e using firefox, type about:plugins in the url and check if flash is listed there. If not tell me the name of your browser and distro. (remember, www.google.com/linux is your friend ;-))

Uhm.. Not Flash, but J2re...

oneandoneis2 07-23-2005 05:43 AM

Try using locate javaplugin_oji.so

Then create a symbolic link (ln -sf) to it in the global Firefox plugins directory - which will be somwhere like /usr/lib/MozillaFirefox/plugins/

Then you should be good to go. . .

Jerel 07-23-2005 09:04 AM

Hi craymk7, the plugins page did not show the jre. I'm using Mandriva Linux LE 2005, with Mozplugger 1.7.1. Any advice? Thanks.

rfurman24 07-23-2005 12:20 PM

I am running mandriva 2005 le and have java working. You need to find the plugin
folder and the javaplugin, then cd to the firefox plugin folder and create symlink
to javaplugin. If I remember correctly there are two differant java plugins so
I had to try both before it worked. I am at work now, I will try to look when I get home.

craymk7 07-23-2005 02:22 PM

This is from the install page at java.

Mozilla 1.4 and later

1. Go to the plugins sub-directory under the Mozilla installation directory
cd <Mozilla installation directory>/plugins
2. In the current directory, create a symbolic link to the JRE ns7/libjavaplugin_oji.so file Type:
ln -s <JRE installation directory>/plugin/i386/ns7/libjavaplugin_oji.so

Example:
* If Mozilla is installed in this directory:
/usr/lib/mozilla-1.4/
* and if the JRE is installed at this directory:
/usr/java/jre1.5.0
* Then type at the terminal to go to the browser plug-in directory:
cd /usr/lib/mozilla-1.4/plugins
* Enter the following command to create a symbolic link to the Java Plug-in for the Mozilla browser.
ln -s /usr/java/jre1.5.0/plugin/i386/ns7
/libjavaplugin_oji.so .
3. Start Mozilla browser or restart it if it is already running. Note that if you have other Mozilla components (ie: Messenger, Composer, etc) running, you will need to restart them as well.
4. Go to Edit > Preferences. Under Advanced category > Select Enable Java

It should do the trick :)

If its done correctly, you should have a section beginning with 'Java(TM) Plug-in 1.5.0_03-b07' in about:plugins after a browser restart.

rfurman24 07-23-2005 10:36 PM

In mandriva 2005 le.After installing java 1.5. Open terminal su then cd to /usr/lib/mozilla-firefox-1.0.2/plugins. Then ln -s /usr/java/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so. Thats what it took in mine.Hope that helps.

anjum 07-24-2005 12:33 AM

hi Dude,

KyoSUke helped me out and i am thankful to him.

PLease follow this link, i hope it will solve your this problem but many others

http://stanton-finley.net/fedora_cor...otes.html#Java

take care and byes

Regards,

Anjum

Jerel 07-24-2005 09:13 AM

thanks everyone! it's working. it's alive alive! :D


All times are GMT -5. The time now is 06:50 PM.