Results 1 to 10 of 21
I run the following command in my mozilla directory (/usr/local/mozilla/plugins)
Code:
ln -s /usr/java/jre/plugin/i386/ns610/libjavaplugin_oji.so .
This used to work for Mozilla 1.0. Does anyone have any ideas why I'm not ...
- 07-23-2003 #1Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
Mozilla 1.4 and JRE plugin
I run the following command in my mozilla directory (/usr/local/mozilla/plugins)
This used to work for Mozilla 1.0. Does anyone have any ideas why I'm not able to see the JRE plugins?Code:ln -s /usr/java/jre/plugin/i386/ns610/libjavaplugin_oji.so .
The best things in life are free.
- 07-23-2003 #2Linux Enthusiast
- Join Date
- Feb 2003
- Location
- Ontario, Canada
- Posts
- 556
don't you have to specify where you want it to link to?
ie:
or whatever your mozilla 1.4 dir isCode:ln -s /usr/java/jre/plugin/i386/ns610/libjavaplugin_oji.so /usr/lib/mozilla-1.4/plugins
the whole mozilla and plugins thing seems weird to me sometimes, I have about four versions installed right now, lol.
- 07-23-2003 #3Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
Well,
I'm currently in the directory /usr/local/mozilla/plugins. There is a dot at the end of that command I previously put. It denotes the current directory. Has anyone succesfully installed this yet? Maybe I need a new j2sdk version or something.The best things in life are free.
- 07-23-2003 #4Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
I haven't tried that approach, but they all work when I symlink them into my per-user plugin dir, ~/.mozilla/plugins. Or, in fact, I haven't tried symlinking, I've just copied to libs directly - maybe that is somehow the problem? I am using Mozilla 1.4, so it should be the same, at least.
I don't think that Sun's JRE plugin links correctly to a mozilla compiled with GCC 3, though. You could try blackdown's JRE instead.
- 07-24-2003 #5Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
I never compiled anything for Mozilla1.4. That was the weird part of this. It was almost like installing a Windows program. Perhaps I need to download the nightly build and install that from source? Anyhow, I was able to use the jre plugin without any problems in a precompiled Mozilla 1.0.
The best things in life are free.
- 07-24-2003 #6Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
Well, whoever compiled it in the first place might have used GCC 3, right? Anyway, I don't know how correct that is; I just read it at some time on mozilla.org, and maybe they have fixed that since.
Originally Posted by bpark
Anyhow, did you try to just copy the lib instead of symlinking it?
Also, try launcing mozilla from a terminal and see if it says anything about it.
- 07-24-2003 #7Linux Enthusiast
- Join Date
- Feb 2003
- Location
- Ontario, Canada
- Posts
- 556
I just switched distros and am seeing the same thing happening.
It is Jamd and came with 1.2.1 and had the java plugin listed and when I installed 1.4 it won't show in the plugins. I've tried copying and symlinking with no luck.
This is weird.
Jamd does not come with dev tools so I can't compile from source which I wouldn't do anyway likely so it makes no difference.
- 07-24-2003 #8Linux Engineer
- Join Date
- Jan 2003
- Location
- Lebanon, pa
- Posts
- 994
The problem is both of them were not compiled with same version of gcc. You either need to use 2.x or 3.x for both of them since gcc3 is not backwards compatible with gcc2. I believe sun's latest release of java is compiled with gcc 3.2. I use mozilla 1.4 and jre 1.4.2 both compiled with gcc 3.2 and it works great.
- 07-24-2003 #9Linux Engineer
- Join Date
- Nov 2002
- Location
- Queens, NY
- Posts
- 1,319
I should have tried running this from the prompt before but I guess that shows me how dumb I am.
Running it from the command line, I get the following error stating that the "GetGlobalServiceManager__16nsServiceManagerPP17ns IServiceManager" is undefined. Does this mean that this precompiled binary didn't enable an option to support this?The best things in life are free.
- 07-25-2003 #10Linux Guru
- Join Date
- Oct 2001
- Location
- Täby, Sweden
- Posts
- 7,578
That could be virtually anything. Mozilla has so many obscure classes that it's just ridiculous. As I remember, though, I think it says a lot about enumerating the plugins somewhere along the top half of the output. How much output do you get, btw.?


Reply With Quote
