LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Enable Java plugin for Mozilla browser (https://www.linuxquestions.org/questions/linux-software-2/enable-java-plugin-for-mozilla-browser-269704/)

maelstrom209 12-23-2004 04:55 PM

Enable Java plugin for Mozilla browser
 
I'm trying to install the Linux java plugin for the Mozilla browser and I'm confused as to what to do. I have a "bin" file which I don't use often. I don't know what I'm supposed to do with this file. I upgraded from the previous to 1.7.5 just a few days ago. On the older version of Mozilla, the plugin already worked fine. Now it says there is no plugin at all. Thanks in advance for any help.

maelstrom209 12-23-2004 05:17 PM

Here's the instructions for enabling the plugin but I don't understand it:

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 ns610-gcc32/libjavaplugin_oji.so file Type:
ln -s <JRE installation directory>/plugin/i386/ns610-gcc32/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/j2re1.4.2_04
* 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/j2re1.4.2_04/plugin/i386/ns610-gcc32
/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

Please help!

Genesee 12-23-2004 05:22 PM

which steps don't you understand? which have you tried already?

instructions for installing java are here:
http://java.com/en/download/help/linux_install.jsp

and it also gives steps to install the plugin.

also, assuming you're using ubuntu - check if it's available via apt-get, which would be easier overall, and there may be distro-specific stuff for debian/ubuntu.

Boby 12-23-2004 05:23 PM

Hello!

This should make it work, you have to change some directories:
Code:

chmod +x j2re-1_4_2_<version>-linux-i586.bin
./j2re-1_4_2_<version>-linux-i586.bin/
ln -s /path/to/java/j2re1.4.2_<version>/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /path/to/mozilla-1.7.5/plugins/libjavaplugin_oji.so

Remember, you have to be root to do all this.

Good luck and I hope it helps!
Boby

maelstrom209 12-23-2004 05:24 PM

I'll try this as root. I did it as a regular user and the plugin didn't work.

AnimaSola 12-23-2004 05:28 PM

in suse (9.2) i got it to work by going into the yast module, and installing everything that came up when i typed in "java" i tried what these guys said with the symbolic link, in fedora and it didnt work for me.

Boby 12-23-2004 05:48 PM

Quote:

I'll try this as root. I did it as a regular user and the plugin didn't work.
Sure it will not work if you try it as regular user ;)
Quote:

in suse (9.2) i got it to work by going into the yast module, and installing everything that came up when i typed in "java" i tried what these guys said with the symbolic link, in fedora and it didnt work for me.
Are you sure you pointed the symbolic link to the right mozilla directory? It will not run for /usr/lib/mozilla/plugins/ because your browser plugins are in /usr/lib/mozilla-1.6/plugins/

Boby

maelstrom209 12-24-2004 12:23 AM

Ok, i got it working. Thanks! I just followed the instructions you guys gave me. They were much easier to follow than the one on the Java website.

JoeO 12-24-2004 12:46 AM

Java location
 
I'm trying to install LimeWire for my son; it needs Java, so I downloaded that (RPM) and installed it. Now, to enable and configure it (evidently) I need to go to the plug-in directory in Mozilla and create a link to the Java plug-in for the Mozilla browser. This according to the Sun Java technology help page. My problem is this - I'm fairly new to Linux and the Linux directory structure is causing me great consternation. I don't know how to find which directory Mozilla is in so I can create a link to it. Java I just installed it in the same directory it was downloaded into, which may or may not be correct (could use a little guidance on that too). I've gone through the basic terminal commands (and the GUI system) and cannot find a way to querry and find out where Mozilla resides - or any other set of program files, for that matter. I'm using RH 9.

Also, how does one transfer files from whatever directory they are in to the MP3 player my son is getting? I feel certain this MP3 player does not have anything Linux on the CD that comes with it.

Thanks in advance. I'd sure like to have this working by Christmas morning.

Joe

maelstrom209 12-24-2004 12:48 PM

Do you have icons on your desktop? If you do, it's possible to find the link of the application thru the properties. This should lead you directly to where Mozilla is. What distro are you using as well? The more commercial distro will make this a little bit easier.

JoeO 12-24-2004 02:22 PM

Red Hat 9, and I did right click the browser icon and I think I've got that figured out.

Not that I like Windows, but their Windows Explorer does have it's advantages until I find something similar in RH.

Does anyone know of a P2P that works directly with RH? That I'd like for the moment.

Thanks

Pyrestrike 01-02-2005 03:20 AM

Hey, I've tried to do the "linking" like Boby said to, and it worked but...

When I've tried installing the Flash plugin as well, Firefox doesn't even start. I've tried doing java first, and it would work then, but as soon as I put flash in Firefox "could not get the plugin manager" . When I did flash first, then java, flash would work but once java was installed firefox would encounter that plugin manager problem again.

It seems to me that the two can't be installed together, but... that doens't really make any sense, especially when they only screw up firefox when they are together. Any ideas? Here's a copy-paste of the error:

Quote:

INTERNAL ERROR on Browser End: Could not get the plugin manager
System error?:: Success

maelstrom209 01-24-2005 04:03 PM

I recently reformatted my computer and thought that since I now know how to install the plugins for Mozilla, and Firefox, I should do it on my own. From the times before, I used Suse 9.2's disc to install their Mozilla and Firefox packages. All plugins (ie Java and Flash) worked fine. So this time around I decided to upgrade my Mozilla and Firefox to the latest version. I managed to get the Flash plugin installed but Java is still not working. I followed the steps in the previous post like I did last time but it did not work for me. I'm curious as to why?

So I tried a number of things. First, when I went to a site that uses Java, Firefox and Mozilla will tell me that I don't the Java plugin. The have a link that I can click to go install the plugin. Upon pressing the link, I'm told that I need the latest Sun Java plugin. So I go to install it. When Firefox and Mozilla search the web for the plugin it'll always tell me that the Java plugin is not available. I'd give a screenshot for you guys but I don't know how to do that yet on Linux. I hope everyone can follow what I'm saying.

The next thing I was look through my computer for the original Java plugin file that I used before I reformatted. I went thru the process described above and had no success. So then I went the Mozilla website to find help. I was directed to a page with a bunch of plugins for Firefox and Mozilla. I was lucky to have found that Java was included in this list. So I downloaded this file. This one was newer than the one that I had before. So I went thru the install process again and still had no success.

I don't know what's going on here. It appears as though if I use the outdated Mozilla and Firefox on the Suse disc, all the plugins would work and there'd be no problems. When I go and install the new versions of these browsers, the Java plugin, regardless of what version, won't work. So I'm wondering could the problem be that there's no updated Java plugin compiled for Suse? I guess that if the files I have are not made specifically for Suse, that might be the problem.

I'm very confused. If anyone has any advice, I'd be glad to hear about it. I have included the links to the places I went for more information on how to install the Java plugin. I've also included the link to the very file that I downloaded. I hope this information is enough for me to help you guys understand my problem.

Java From Mozilla Website

Mozilla's Directions on Installing Java (same as the process already described in this thread)

JamieKitson 01-31-2005 05:18 PM

I solved this error by linking ns7 instead of ns7-gcc29.

echo77 02-24-2005 12:53 PM

-----
INTERNAL ERROR on Browser End: Could not get the plugin manager
System error?:: Success
-----
I also solved this error by linking ns7 instead of ns7-gcc29.


All times are GMT -5. The time now is 09:06 AM.