-   Linux - General (
-   -   how do I get browser to recognize my plugin? (

grandpapop 12-17-2005 11:15 AM

how do I get browser to recognize my plugin?
I am running Redhat 9.1 with mozilla browser. I have the java plugin j2sdk-1_4_2_10 installed but what do I type in the terminal window to get the browser to recoginze the plugin? I have been trying ln -s/usr/java/re1.5.0_06_/
plugin/i386/ns610-gcc32/ I have had no success with this at all.
Please tell me what to type and thank you in advance. Grandpapop

linmix 12-17-2005 11:56 AM

Looks like you miised half of the actual command. The idea is to make a symbolical link from the actual location of java to the place where your browser would look for the plug-in.
The command should look something like:

ln -s /usr/lib/jvm/jre/plugin/i386/ns7/ /usr/lib/mozilla/plugins/
but double chack to make sure where is located (version numbers may change...)

grandpapop 12-17-2005 05:29 PM

linmix, thanks so much for giving me the line that I type. I tried it but no luck. I am not sure where the file is for the plugin and I think that has been my problem all along. I have been playing with linux for 3 or 4 years and I have tried many distros and that has always been my problem. I can never get the browser to recognize plugins no matter what distro I use. Red Hat, Core 3, Mandrake, Suse, Corel, Xandros, Ubuntu and Caldera. I also have tried FreeBSD and that is the worse I have seen to get anything to work. I will buy a book and they will talk about the distro and tell about mozilla and the cd will have firefox on it. They are not the same to get things to work or the language is not the same. Thank you very much, but I am about to give up. Grandpapop

linmix 12-18-2005 03:36 AM

On many distros you have acces to a great search tool called slocate or locate. If not find will do the job. It will show you where libjavaplugin is located. Simply copying my line won't help if it doesn't correspond to the setup on your system (e.g. some distros put java in /opt)

I suppose you know about cli tab completion: you type the first few characters press taba and the cli completes the rest as long as there's one option available or shows you all the possible options if there are mnore.

Once you know where libjavaplugin is, use tab completion and adapt the line I gave you to your system situation. Then shut down all instances of the browser and restart it. Only after that will java work.

It would be easier to help you if you told me what distro you use / are trying to get java to work in.

grandpapop 12-18-2005 09:11 AM

Hi Linmix, I am running Red Hat 9 with a mozilla browser. I have Red Hat 7.1, 9 and Core 3. For some reason I can get Red Hat 9 to work the best for me. The 7.1 and 9 have mozilla browsers and the Core 3 has Firefox. I don't have any books that explain how to work with Firefox so that's why I use the older ones. I had everything screwed up so I just re loaded 9 again and I am going to start over and see if I can get the plugins to work now that I have the correct lines. Thanks for telling me about slocate. I didn't know about that. I have never used the cli plus tab either. I will have to try both of them. Thanks for telling me about these. If I get any of this to work then I will let you know. Have a Merry Christmas and a great New Year. Grandpapop

linmix 12-18-2005 09:20 AM

Don't hesitate to post any queries that might come up. Also don't forget to visit the Unofficial Fedora FAQ, which is where I got the cli command from.

grandpapop 12-18-2005 03:27 PM

Hi linmix, thank you, thank you, thank you, that did it. I re loaded RH 9 and downloaded the java j2re* again and this time it installed like it was suppose to and using your line it went so the browser did recognize it. That is the first time in maybe 3 years that I have ever had the browser recognize java. Now I will try and get the browser to recognize the macromedia flash plugin. I also want to get the Acrobat and shockwave plugins. I was at Apple and they also use Quicktime plugins. I hope I can go to Apple and download the Quicktime plugin. I will keep you in mind and tell you how it's going. I want to get away from windows very bad and I want to use linux. If I can get all these plugins working then the sites will work the same as they do when I go there with Explorer. Linux is so much better than windows. Again, thank you very much, maybe now I am on my way. Grandpapop

linmix 12-18-2005 03:42 PM

Another great resource is the Stanton-Finley FC4 Installation Notes which also has some info on flash and pdf. keep me posted. I'm looking forward to hearing about your success!

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