Hello,

I've recently been asked at work to maintain an old project written by someone who no longer works at the company. There is no documentation or pretty much anything to the project other than the source that was left behind. I've been asked to add some new features which I've done, but now I having trouble getting the applet to load on our server.

Since this is a work-related thing, I'm sorry I can't provide a lot of specific details; the details are still there, I've just changed the name's around.

The difficulty I'm having is that the applet's code is seperated into two packages, and I can't seem to get my browser to load it correctly. As far as I know, the HTML code loading the applet worked fine before some internal DNS changes made it stop working.

The structure of the applet is like this:

path.to.package.main_stuff
path.to.package.support_stuff

I have the applet able to compile and run on my local machine. I have signed the applet, and the jar signer program verifies that it is signed correctly.

The relevant portion of the html code is like this:

<applet codebase=http://<server's IP address>/Program code="path.to.package.main_stuff.Program.class" archive="program.jar">
</applet>

The error I get when I try to run the applet is this:

load: class path.to.package.main_stuff.Program.class not found.
java.lang.ClassNotFoundException: path.to.package.main_stuff.Program.class
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:162)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:566)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:617)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1863)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:546)
at sun.applet.AppletPanel.run(AppletPanel.java:298)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:265)
at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:43)
at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:152)
at java.security.AccessController.doPrivileged(Native Method)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:149)
... 9 more

Other information that might be important:

- I am using Firefox 1.0 on Gentoo Linux with Sun's 1.4.2_06 JRE.
- The original applet was most likely made with Sun's 1.1.8 or 1.2.2 JRE.

Thank you for any help!