LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mozilla 1.0.0 and sun j2sdk1.4.0_01 (https://www.linuxquestions.org/questions/linux-software-2/mozilla-1-0-0-and-sun-j2sdk1-4-0_01-a-27136/)

jhsnyder 08-03-2002 05:08 PM

mozilla 1.0.0 and sun j2sdk1.4.0_01
 
Have anyone successfully installed the java plugin
libjavaplugin_oji.so from sun j2sdk1.4.0_01 into
mozilla 1.0.0?

I've seen advice in many places to link:

$JAVA/jre/plugin/i386/ns610/libjavaplugin_oji140.so

to
$MOZILLA/plugins

but a) with j2sdk1.4.0_01 the plugin is libjavaplugin_oji.so
and b) linked either as ..oji.so *or* ..oji140.so,

Help->AboutPlugins

doesn't see java.

Oddly, when I go to:

http://www.gemal.dk/browserspy/javajava.html

konqueror sees java.version 1.4.0_01, and says that java is
enabled and supported; mozilla says not so.

Any ideas gratefully accepted. No idea too silly to be
considered. :-)

sankeny 08-03-2002 07:05 PM

Mozilla and Java....
 
You are aware that Mozilla 1.0 has an issue with Java? There is a bug described here.....

http://bugzilla.mozilla.org/show_bug.cgi?id=83376

It involves the UserAgent described in pref.js

Take a look at this site....

http://plugindoc.mozdev.org/javalinux.html

And, create the link as libjavaplugin_oji140.so

Mozilla 1.1 Beta has a fix for this. You can edit the pref.js file as described in the Release Notes (under Known Problems | JavaScript Debugger).

Have a lot of fun!

jhsnyder 08-03-2002 07:40 PM

Ah. I had looked at the mozdev.org page, but hadn't
figured out how to check the user agent, and simply
assumed that it was probably correct.

Thanks!

sankeny 08-03-2002 08:21 PM

Tell us if it works....
 
Personally, I am waiting for the release of 1.1

I came to Mozilla after trying Netscape 6 and having some disappointments. I started with the Netscape PreRelease Candidates, and I think my first Mozilla version was 0.9.4

I have kept up with the updates since and really like it. I have no use any longer for Netscape. Why not use the original which is Mozilla? I am very pleased with everything Mozilla has accomplished.

I am also considering downloading some of the other plugins/add-ons such as the PGP and mail filter add-ons. Those should be interesting.

As Mozilla matures, I think it will really become the best.

neo77777 08-03-2002 08:58 PM

As for me mozilla1.0.0 works ok with java -1.4.1-beta-b14

tied2 08-04-2002 12:43 AM

I tryed copying the pugin from the 1.4 version into the Mozilla plugin file and took out the 1.3 file ..but it didn't work the first website i went to it wanted to install the 1.3 plugin I would love to get this fixed as I chat in java (I know it's a bad habbit) and it locks up if I have more than two windows open. and some of the buttons arn't visable.

neo77777 08-04-2002 01:01 AM

you shouldn't copying the plugin you need to symlink it with
ln -s /what/to/link /where/to/link

tied2 08-04-2002 02:08 AM

so the simlink would go like this ln -s /usr/local/mozilla/plugins /usr/java/j2sdk1.4.0/jre/plugins is this right?

neo77777 08-04-2002 02:55 AM

with a little correction to you need a symlink name and it is all the way around, to make things simplier
cd /usr/local/mozilla/plugins
ln -s /usr/java/j2sdk1.4.0/jre/plugin/i386/ns610/<at this point hit tab for autocompletion and enter>
ns610 is for mozilla 1.0

jhsnyder 08-04-2002 08:22 AM

going back to why 1.4.0_01 won't work.. the first suggestion
was that the mozilla "USER_AGENT" isn't set correctly.

I checked my mozilla parameters on this useful page:

http://xml.unigrok.com/info.php

(scroll down to the Apache Environment)

and observe that USER_AGENT is indeed Mozilla/5.0,
which (if I understood correctly) is what jre wants the
USER_AGENT to be. (I'm using the mdk tweaked mozilla)

Hence the USER_AGENT bug wouldn't seem to explain
my problem.

I then regressed to the 1.4.0 (no _01) java, and see exactly
the same behavior.

With regard to symlinking: I've symlinked, not copied, so
I should be OK here too. (Why does copying not work??)

Haven't tried 1.4.1beta yet, but I have this strong suspicion
that there's some systemic problem, such as incorrect glibc.
(I'm running mdk82 with /lib/libc-2.2.4.so) I checked per-
missions - 755 - on libjavaplugin, no problem there.

Hmm, come to think of it, if there's a systemic problem, then
why does konqueror find the plugins?

Any other ideas?

tied2 08-04-2002 02:24 PM

Ok I made the link ...when I go to browser spy it lists both versions of java i tried dsl reports and no differance and i also tried another java app ... no differance. Will mozilla automaticly use the newer version to run apps?


All times are GMT -5. The time now is 08:01 PM.