Re: JRE and Browser Plugin Problems
- From: K2 <local@xxxxxxxxxxx>
- Date: Sun, 14 Aug 2005 14:18:11 -0400
Roland wrote:
I'm prompted to save or select an application to open the file with. So the file exists, and I can see it (at least using http through port 80).
Can you save it to disk?
Yes.
4) Can you run the applet (or any other applet) in Internet Explorer?
No, I can't. Same errors as in Firefox. Which is what has convinced me that it is a Java or OS problem vice a browser or plugin problem.
Using the basic "Hello World" applet that you create as part of the Eclipse tutorial, I get the same type of errors:
5) Can your browser run an applet from your local file system (i.e. a "file://"-URL instead of a "http://"-URL in the addressbar)?
If you have installed the JDK you can find a couple of applets in the demo subdirectory of the JDK, e.g.
C:\Program Files\Java\jdk1.5.0_04\demo\applets\Clock
Otherwise you could compile a small applet using Eclipse (which you had installed IIRC), e.g.
<http://java.sun.com/docs/books/tutorial/getStarted/applet/index.html>
<http://java.sun.com/docs/books/tutorial/getStarted/applet/running.html>
1. A General Exception Error
2. The console window has these errors:
basic: Registered modality listener
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1feca64, refcount=1
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@a37368
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
java.lang.ClassCastException: HelloWorld
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)
basic: Exception: java.lang.ClassCastException: HelloWorld
java.lang.ClassCastException: HelloWorld
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)
basic: Modality pushed
basic: Modality popped
The console window snapshot is here: http://home.comcast.net/~ktwo/java-error.jpg
6) Try clearing your browser cache (Tools -> Options -> Privacy -> Cache -> Clear)
No joy.
7) Try clearing the Java plugin cache (Start -> Settings -> Control Panel -> Java -> General -> Temporary Internet Files -> Delete Files)
No joy.
This produces something interesting. When I open the control panel and select the "Advanced" tab, Netscape and Mozilla are unselected. When I attempt to select it, it tells me to check that they are properly installed or that I have sufficient permissions to change them. I should - I'm doing this on an XP Pro box with an Admin account. Maybe I'll try Netscape or Mozilla just to obtain another data point.
8) Make sure that the Java plugin supports the <APPLET> tag: Start -> Settings -> Control Panel -> Java -> Advanced -> <APPLET> tag support
In addition to that: can you provide the URL of the page containing the JavaCallJS applet, so we can try it too.
Heck, just going to http://www.java.com/en produces the error. .
- Follow-Ups:
- Re: JRE and Browser Plugin Problems
- From: Roland
- Re: JRE and Browser Plugin Problems
- From: mfeher
- Re: JRE and Browser Plugin Problems
- References:
- JRE and Browser Plugin Problems
- From: K2
- Re: JRE and Browser Plugin Problems
- From: Roland
- Re: JRE and Browser Plugin Problems
- From: K2
- Re: JRE and Browser Plugin Problems
- From: Roland
- JRE and Browser Plugin Problems
- Prev by Date: Re: tomcat/applet question...
- Next by Date: Re: jar-in-a-jar again, and manifest questions
- Previous by thread: Re: JRE and Browser Plugin Problems
- Next by thread: Re: JRE and Browser Plugin Problems
- Index(es):
Relevant Pages
|