954,536 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Problems loading applet

This is probably something very simple, but I'm new to java and can't figure it out.

PCAnywhere offers a java applet version which you can run on your PC or upload to your site.

When I run it from the PC (double click on index.html) file loads fine, when I upload all the files provided into my site under a "remote" directory, the applet does not load.

Here are the files:
www.digitalpracticesolutions.com/remote/remote.zip

When I try to run www.digitalpracticesolutions.com/remote/index.html I get a "unable to load applet"

In the console message is:
basic: Loading applet ...
basic: Initializing applet ...
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@c7e553, refcount=2
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@c7e553, refcount=1
basic: Starting applet ...
Test
basic: Registered modality listener
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@c7e553, refcount=2
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@13ad33d
basic: Loading applet ...
basic: Initializing applet ...
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@c7e553, refcount=3
basic: Releasing classloader: sun.plugin.ClassLoaderInfo@c7e553, refcount=2
basic: Starting applet ...
java.lang.NoClassDefFoundError
at JAWRem.(JAWRem.java:55)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(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)
basic: Exception: java.lang.NoClassDefFoundError


------------------------------------------------------------------------------------------------
Now a similar site that has the same files and the applet loads fine is:
http://www.michaelcanfield.com/pca12/pca12.html


I have downloaded all the files from his directly and they dont work on my site.
ex. index.html and etc...

tim_chase01
Newbie Poster
1 post since Oct 2008
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You