Closed Bug 263889 Opened 20 years ago Closed 20 years ago

FireFox [and Moz 1.7] will not use installed Java 1.5.0 plugin

Categories

(Firefox :: Shell Integration, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dave.levitt, Assigned: bugs)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1

FireFox 0.93 worked fine with JDK 1.4.203 & its plugin. 

Since upgrading to JDK '5' [jdk 1.5.0] and FireFox 1.0PR Java applets refuse to
load. The 'about:plugins' url shows the correct DLL [NPJPI150.DLL] in both the
sdk & jre home directories.

Reproducible: Always
Steps to Reproduce:
1.Install Java 5 SDK
2.Install FireFox 1.0PR
3.Visit Sun's demo applet page
Error is shared in Moz 1.7 and Firefox
Actual Results:  
Dialog box saying it could not find "\bin\server\jvm.dll" [probably looking for
%JAVA_HOME%\bin\server\jvm.dll]
Tried copying the dll file to \bin\server, rebooted and now get:
"Several Java Virtual machines running in the same process caused an error"

Expected Results:  
Launched an applet

I've gotten three different dialog box messages - but I did not write down the
text of the second one [need to see if this is logged anywhere]
The bug persists with FireFox 1.0 

I did locate a registry patch, showing a problem with the installer, detailed at 

http://kb.mozillazine.org/index.phtml?title=Firefox_:_FAQs_:_Install_Java

but, thanks to institutional paranoia, I cannot edit the registry on this machine.

Is there a way to bypass the registry, and inform the browser of just where
JAVA_HOME is? [the windows registry is a bad concept, poorly executed at best -
there should be provisions to bypass or ignore it]
I have this same issue. I was getting the useragent errr as well. Been through a
dozen uninstall/reinstall of Java and the registry patch to no avail.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050405
Firefox/1.0+

WFM in latest-trunk.

Reporter, Commentor:

Can either of you reproduce this in latest milestone builds or recent nightly
(no more than 3 days old)?
java.lang.NoClassDefFoundError: com/sun/java/swing/JApplet

	at java.lang.ClassLoader.defineClass0(Native Method)

	at java.lang.ClassLoader.defineClass(Unknown Source)

	at java.security.SecureClassLoader.defineClass(Unknown Source)

	at java.net.URLClassLoader.defineClass(Unknown Source)

	at java.net.URLClassLoader.access$100(Unknown Source)

	at java.net.URLClassLoader$1.run(Unknown Source)

	at java.security.AccessController.doPrivileged(Native Method)

	at java.net.URLClassLoader.findClass(Unknown Source)

	at sun.applet.AppletClassLoader.findClass(Unknown Source)

	at java.lang.ClassLoader.loadClass(Unknown Source)

	at sun.applet.AppletClassLoader.loadClass(Unknown Source)

	at java.lang.ClassLoader.loadClass(Unknown Source)

	at sun.applet.AppletClassLoader.loadCode(Unknown Source)

	at sun.applet.AppletPanel.createApplet(Unknown Source)

	at sun.plugin.AppletViewer.createApplet(Unknown Source)

	at sun.applet.AppletPanel.runLoader(Unknown Source)

	at sun.applet.AppletPanel.run(Unknown Source)

	at java.lang.Thread.run(Unknown Source)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050522
Firefox/1.0+

WFM on latest Deer Park hourly from pacifica-trunk.  I am going to go ahead and
mark this WFM.

<-WFM
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.