Re: JRE and Browser Plugin Problems
- From: Roland <roland@xxxxxxxxx>
- Date: Mon, 15 Aug 2005 22:05:01 +0200
On 14-8-2005 20:18, K2 wrote:
Roland wrote:Yes.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?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.
Yep, it's a problem of Java JRE or the Java browser plugin.
[...]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)?
Using the basic "Hello World" applet that you create as part of the Eclipse tutorial, I get the same type of errors:[...]
1. A General Exception Error
2. The console window has these errors:
[...]basic: Loading applet ... basic: Initializing applet ... basic: Starting applet ... java.lang.ClassCastException: HelloWorld
It seems that the class did get loaded but it's not of the proper type (did you declare HelloWorld as subclass of Applet/JApplet ?).
If it's only HelloWorld not being an Applet subclass, it looks like the Java plugin is able to load applets from the local file system (a "file://"-URL). Otherwise some really strange things are going on.
Bummer6) Try clearing your browser cache (Tools -> Options -> Privacy -> Cache -> Clear)No joy.
Bummer7) Try clearing the Java plugin cache (Start -> Settings -> Control Panel -> Java -> General -> Temporary Internet Files -> Delete Files)No joy.
Did you change it with Firefox/IE closed? If not, the browser may still have loaded parts of Java preventing the console from applying changes. If you did close them, I'm stumped. Could be some files in C:\Documents and Settings\LoginName\Application Data\Sun\Java\Deployment having some incompatible access rights (read only?)8) Make sure that the Java plugin supports the <APPLET> tag: Start -> Settings -> Control Panel -> Java -> Advanced -> <APPLET> tag supportThis 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.
You could try Netscape/Mozilla Suite --if you have them installed-- but I don't expect a different result.
Yep, there it is: <applet name="detectjava" code="JavaCallJS.class" ...> [running OK for me, both with *Java].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.
One thing you may want to verify:
9) Can a Java application access the internet? Eclipse has an update function that you could try for this: Help -> Software Updates -> Find and Install.
If the Java app can't get access either, I'm still thinking of a firewall/Norton issue (do you have Norton's Internet Security suite or only Norton Antivirus; I'm only familiar with NAV2005 and I couldn't find any settings for blocking applets). It still could be a faulty Java installation too.
If the Java app can access the internet, it's really a problem of the Java browser plugin.
If you haven't tried already, maybe reinstalling the JRE (or JDK) solves the problem.
I'm running out of ideas. Maybe some other reader has had a similar problem (and solved it)?
--
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
- Re: JRE and Browser Plugin Problems
- From: Roland
- Re: JRE and Browser Plugin Problems
- From: K2
- Re: JRE and Browser Plugin Problems
- From: Roland
- Re: JRE and Browser Plugin Problems
- From: K2
- JRE and Browser Plugin Problems
- Prev by Date: Re: Help me with references
- Next by Date: Re: Help me with references
- Previous by thread: Re: JRE and Browser Plugin Problems
- Next by thread: Re: JRE and Browser Plugin Problems
- Index(es):
Relevant Pages
|