Hello, I am testing a swing applet using swing1.1.1. When I run the applet using appletviewer it is working fine, but when I try to open using IE 5.0 & 5.5 I am getting class not found error. I checked and double checked the class name to make sure that there is no typo. I also tested by creating a jar file and load the class from jar file with no luck. I am able to run a regular applet (non swing applet) properly from the same directory. Any idea why this is happening? The HTML and the sample I am trying to run are from swing demo directory(SwingApplet.html & SwingApplet.java).
Thanks Suresh
Rob Ross
Bartender
Joined: Jan 07, 2002
Posts: 2205
posted
0
What JVM version is your browser using? Are you using the out-of-date MS JVM? If so, it won't support Swing. Download the latest JVM plugin from Sun and you will have Swing support in your applet.
Rob
SCJP 1.4
Suresh Kanagalingam
Ranch Hand
Joined: Aug 17, 2001
Posts: 82
posted
0
Thanks. It works with new JVM. Since customers may not have new JVM what is the best way to implement this? Suresh
Gurukeerthi Gurunathan
Greenhorn
Joined: Jun 10, 2003
Posts: 10
posted
0
You should inform the customers of the browser version(by disclaimer or product release note or a message in the web page) that will be supported by your application. IE 6.0 or later should have the updated JVMs.
Rob Ross
Bartender
Joined: Jan 07, 2002
Posts: 2205
posted
0
Actually, the MS JVM is a dead product. They haven't updated it in years, and they're not even including it with Windows anymore. Like any other product that is no longer supported, you must migrate to one that is, in this case the JVM Plug-in from Sun. You can download it from Sun's site. Go to java.com for more info.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.