Problems loading applet

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Oct 2008
Posts: 1
Reputation: tim_chase01 is an unknown quantity at this point 
Solved Threads: 0
tim_chase01 tim_chase01 is offline Offline
Newbie Poster

Problems loading applet

 
0
  #1
Oct 10th, 2008
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:
http://www.digitalpracticesolutions....ote/remote.zip

When I try to run http://www.digitalpracticesolutions....ote/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 ...
<p>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.<init>(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...
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum


Views: 708 | Replies: 0
Thread Tools Search this Thread



Tag cloud for Java
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC