jQuery in Action, 3rd edition
The moose likes Applets and the fly likes Applet loading problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet loading problem" Watch "Applet loading problem" New topic

Applet loading problem

Joachim Olga

Joined: May 15, 2004
Posts: 9
My applet loads just fine using Mozilla Firefox on Win XP, but I get the following error using Internet Explorer. Why?

java.lang.ClassNotFoundException: Hangman.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
Joachim Olga

Joined: May 15, 2004
Posts: 9
Ok... seems IE can't handle spaces in the url, while firefox can...
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Applet loading problem
It's not a secret anymore!