Summary: navigator.javaEnabled() always "false"
Creator:Marc Date:2003-12-07 12:09:46
Project:K-Meleon Owner:.Nobody
Status:Closed Severity:Normal
Version:Unknow Target Version:Unknow

I though this one was reported long ago. It has been discussed many times in the forum. This is a problem specific to KM, it works correctly in mfcembed.

The javascript function " navigator.javaEnabled() " always returns "false". Since it works in mfcembed, KM should be able to do it correctly.

To test simply type
 javascript:navigator.javaEnabled()
in the url bar.

Comments
Marc  2003-12-11 18:35:48
>Since it works in mfcembed, KM should be able to do it correctly.

My bad. I meant to say FB.
Marc  2003-12-11 18:37:29
Hitting submit too fast.
Saying it another way.

The function works in FB, and in Moz and mfcembed build with the same version of Gecko that KM uses. So it should work in KM too.
bugchaser  2003-12-12 01:47:48
This problem buggers me since I applied the 0.7 SP 1.
It deters me from using some of my favourite sites and for those cases K-M is useless for me :-(

Hope the problem will be solved soon.

Bernard
Marc  2003-12-13 07:08:07
Here is a screenshot proving that the function works in mfcembed.exe

http://users.skynet.be/alternity/k-meleon/km/javaEnabled.gif
amutch  2003-12-16 20:05:47
Actually, this doesn't work in mfcEmbed. It works if you run it from the Mozilla directory. But it doesn't work when run with only its own build files. It also works in K-Meleon if you run it from the Mozilla directory. So the problem appears to be a packaging or component issue.
Ulf  2003-12-17 02:03:18
Andrew, are you saying that the mfcEmbed package (embed-win32.zip) has the same problem as K-Meleon? While mfcEmbed installed together with Mozilla (mozilla-win32.zip) works correctly?

Comparing the directories I would give it a try to copy oji.dll and oji.xpt (and maybe jsd3250.dll) from Mozilla to mfcEmbed/K-Meleon and try again.

Filing a report in bugzilla would be the proper way otherwise. Those guys will find the needed component in no time. My interest in Java is null. I am not going to test this.
Marc  2003-12-17 02:18:37
Ulf,
I've done this same test and but somehow only reported it partially to the beta list.

And Andrew said, running mfcembed in the mozilla directory (I'm using the version provided with the full suite package) detects java correctly.

 - moving mfcembed to KM's dir: fail
 - moving KM.exe to moz dir: works (but KM plugins not detected, profile problem etc...)

in moz dir, moved the 2 xpcom DLLs and "components" dir (they don't work apart, browser will not do anything if you copy only one of them)
 - KM, mfcembed in moz dir: fail

So the problem is either in one of the 2 xpcom DLLs, or in one of the libs in "components".
Marc  2003-12-17 02:21:28
Text corrections: (I hate when I do this)

Ulf,
I've done this same test but somehow only reported it partially to the beta list.

As Andrew said, running mfcembed in the mozilla directory (I'm using the version provided with the full suite package) detects java correctly.

 - moving mfcembed to KM's dir: fail
 - moving KM.exe to moz dir: works (but KM plugins not detected, profile problem etc...)

In moz dir, moved the 2 xpcom DLLs and "components" dir (they don't work apart, browser will not do anything if you copy only one of them) from the KM installation. Then,

 - KM, mfcembed in moz dir: fail

So the problem is either in one of the 2 xpcom DLLs, or in one of the libs in "components".
Ulf  2003-12-18 06:07:53
The missing file is probably jsj3250.dll, but it can't hurt to include the oji.* files as well (or even jsd3250). I'll make a new build/package and name this fixed when verified.
Marc  2003-12-18 06:17:45
jsd3250.dll oji.dll and oji.xpt are in the component directory.

You can contact me on icq if you need a guinea pig. (instead of posting here or on the dev list, and wait an answer) ;)
Ulf  2003-12-18 06:32:48
You should have:
  k-meleon/js3250.dll
  k-meleon/jsj3250.dll
  k-meleon/components/jsd3250.dll
  k-meleon/components/oji.dll
  k-meleon/components/oji.xpt

The jsj3250.dll file was not in my earlier bundles.
rmn  2004-01-05 05:25:34
Worksforme in 0.8.2.
[Changed Status from "Unconfirmed" to "Fixed"]
[Changed Owner from ".Nobody" to "Ulf"]
rmn  2005-01-26 02:31:25
Oops, forgot to close this old fixed bug.
[Changed Status from "Fixed" to "Closed"]
[Changed Owner from "" to ".Nobody"]

SourceForge Logo