Registry Entry Overrides plugin.scan.SunJRE

RESOLVED INVALID

Status

()

Core
Plug-ins
--
major
RESOLVED INVALID
11 years ago
6 years ago

People

(Reporter: dem107, Unassigned)

Tracking

1.8 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

11 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0

On Windows XP, a registry entry in HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins overrides the plugin.scan.SunJRE entry in the all.js file.  If there is a newer plugin found by plugin.scan.SunJRE, about:config shows the dll's for that plugin as well as the ones for the JRE in the MozillaPlugins registry entry, but only the ones from the registry are active.

Reproducible: Always

Steps to Reproduce:
1. Install JRE 1.4.2 from IBM.
2. Install JRE 1.5.9 from Sun.
3. pref("plugin.scan.SunJRE", "1.5"); in all.js
4. Start Firefox 2.0
5. go to about:config
6. The dll's from both IBM JRE 1.4.2 and Sun 1.5.9 are shown.
7. Visit the http://javatester.org/version.html or any Java version test site.
Actual Results:  
Version 1.4.2 is used, even though the plugin.scan.SunJRE line requires 1.5 or greater.

Expected Results:  
Sun JRE 1.5.9 should be used and Firefox should ignore JRE 1.4.2

Registry entries that causes problem:

[HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins\@ibm.com/Java]
"Description"="IBM Java 1.4.2"
"ProductName"="IBM Java 1.4.2"
"Vendor"="IBM"
"Path"="C:\\Program Files\\IBM\\Java142\\jre\\bin\\npoji610.dll"
(Reporter)

Comment 1

11 years ago
Created attachment 243531 [details]
Registry entry that causes problem
(Reporter)

Updated

11 years ago
Version: unspecified → 2.0 Branch
Reporter, do you still see this problem with the latest Firefox 2? If not, can you please close this bug as WORKSFORME. Thanks!
Whiteboard: CLOSEME 07/14
(Reporter)

Comment 3

11 years ago
This is still a problem in Firefox 2.0.0.4.  It exhibits the same behavior.
(Reporter)

Comment 4

11 years ago
http://www.java.com/en/download/installed.jsp?detect=jre&try=1 shows version 1.4.2 as well.

Updated

11 years ago
Whiteboard: CLOSEME 07/14
Component: OS Integration → Plug-ins
Product: Firefox → Core
QA Contact: os.integration → plugins
Version: 2.0 Branch → 1.8 Branch
Attachment #243531 - Attachment mime type: application/octet-stream → text/plain
The various versions seem outdated now and OJI is not supported anymore.

R.Invalid.

NB: Open a new bug if you can reproduce with current Firefox versions.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.