| | |
Problems loading applet
Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Oct 2008
Posts: 1
Reputation:
Solved Threads: 0
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...
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...
![]() |
Similar Threads
- How do I place images on a rotating divided cube using Java? (Java)
- please help hjt log inside (Viruses, Spyware and other Nasties)
- problems loading gui into html (Java)
- xadssjt-a.offer (Viruses, Spyware and other Nasties)
- How to stop prosearching from loading ??? (Viruses, Spyware and other Nasties)
Other Threads in the Java Forum
- Previous Thread: Removing Zero, after the decimal point
- Next Thread: trouble importing commons-io-1.3.2
Views: 708 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for Java
add android api apple applet application arguments array arrays automation binary bluetooth chat chooser class classes client code component converter database detection digit draw eclipse equation error event exception file fractal functiontesting game givemetehcodez graphics gui health helpwithhomework html hyper ide idea image input int integer j2me java javame javaprojects jmf jni jpanel julia linux list loop main map method methods mobile myregfun netbeans newbie nonstatic number object oracle os pattern pearl print problem program programming project recursion scanner screen scrollbar server set size sms socket sort spamblocker sql sqlserver string superclass swing test thread threads time transfer tree windows





