Closed Bug 358090 Opened 18 years ago Closed 12 years ago

Registry Entry Overrides plugin.scan.SunJRE

Categories

(Core Graveyard :: Plug-ins, defect)

1.8 Branch
x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: dem107, Unassigned)

Details

Attachments

(1 file)

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"
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
This is still a problem in Firefox 2.0.0.4.  It exhibits the same behavior.
http://www.java.com/en/download/installed.jsp?detect=jre&try=1 shows version 1.4.2 as well.
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
Closed: 12 years ago
Resolution: --- → INVALID
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.