Re: JRE and Browser Plugin Problems
- From: Roland <roland@xxxxxxxxx>
- Date: Sat, 13 Aug 2005 23:37:06 +0200
On 13-8-2005 22:18, K2 wrote:
I'm trying to troubleshoot the cause of the following errors:
basic: Registered modality listener
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@a6aeed, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@af8358
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
network: Connecting http://www.java.com/jsp_utils/JavaCallJS.class with proxy=DIRECT
network: Connecting http://www.java.com/jsp_utils/JavaCallJS/class.class with proxy=DIRECT
load: class JavaCallJS.class not found.
java.lang.ClassNotFoundException: JavaCallJS.class
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)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more
basic: Exception: java.lang.ClassNotFoundException: JavaCallJS.class
The error that has caught my eye is "open HTTP connection failed". I have local Java apps (Eclipse IDE, Unlimited FTP) that run fine but can't access the internet. But applets don't run - just generate errors like above. Turns out that there are no Java related plugins in the Firefox plugins directory. I've got Quicktime and Flash related files there, but nothing Java related. If I try to install JRE 5, it tells me that it's already installed. Yet applets (e.g. www.java.com) cause General Exception Errors and I still have no Java related files in my plugins directory.
Anybody have ideas as to the cause of this? Coudl somebody tell me which files need to be in the plugins directory? Maybe I can just copy them there myself.
Thx -K2
Which OS are you using? [I'm assuming it's Windows, since you posted your message using Windows version of Thunderbird.]
Type "about:plugins" without quotes in the Firefox addressbar and see if Java is listed. Several Java plugin DLLs are typically listed, e.g.
*Java(TM) 2 Platform Standard Edition 5.0 Update 4*
File name: C:\PROGRA~1\mozilla\FIREFO~1.0\plugins\NPOJI610.dll
Java Plug-in 1.5.0_04 for Netscape Navigator (DLL Helper) MIME Type Description Suffixes Enabled
application/x-java-vm Java Yes[If you don't see the full path of the filename, type "about:config" in the addressbar (without quotes), locate the preference "plugin.expose_full_path" (no quotes) and set its value to true (double-click to toggle its value).]
On my system (W2K / Java 1.5.0_04) the following DLLs are listed NPOJI610.dll NPJPI150_04.dll NPJava11.dll NPJava12.dll NPJava13.dll NPJava14.dll NPJava32.dll
Since you don't have Java plugins in the Firefox plugins directory, you may find that in your case the full path of the DLLs refer to the JRE directory (e.g. C:\Program Files\Java\jre1.5.0_04\bin\NPJPI160.dll).
Further things you should check
1) Are you using a firewall or an Internet Protection Suite that might be blocking Java applets / class files. [I'm assuming that you can view www.java.com without a problem in Firefox, so the firewall is not blocking the browser to open a HTTP connection.]
2) Can you copy the link http://www.java.com/jsp_utils/JavaCallJS.class to the Firefox address bar and open it? If you are prompted to save the class file, that's OK: it means that the browser can open it (but the Java plugin cannot). If Firefox cannot access it either, then a firewall or something else is blocking it. [FWIW, I can access the link, so the class file does exist.]
3) Are you using a proxy to access the internet? If you are (if you have selected a proxy in Tools -> Options -> General -> Connection Settings), then make sure that the Java plugin uses the same: [assuming Windows & Java 1.5] Start -> Settings -> Control Panel -> Java -> General -> Network settings -> Use browser settings.
--
Regards,
Roland de Ruiter ` ___ ___ `/__/ w_/ /__/ / \ /_/ / \ .
- Follow-Ups:
- Re: JRE and Browser Plugin Problems
- From: K2
- Re: JRE and Browser Plugin Problems
- References:
- JRE and Browser Plugin Problems
- From: K2
- JRE and Browser Plugin Problems
- Prev by Date: instatiate tagsoup
- Next by Date: import org.ccil.mercury.TagSoup
- Previous by thread: Re: JRE and Browser Plugin Problems
- Next by thread: Re: JRE and Browser Plugin Problems
- Index(es):
Relevant Pages
|