File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Applet issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Applet issues" Watch "Applet issues" New topic

Applet issues

Peter Powers

Joined: Jan 10, 2013
Posts: 13

Would greatly appreciate any help. Ive created a very simple applet. It runs fine in the Eclipse applet window. When i run use the class file in an HTML page get a CLASS NOT FOUND EXCEPTION. I test other applets not of my creation and they work fine in my page.
Thanks in advance.
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46349
And where is the .class file?
Peter Powers

Joined: Jan 10, 2013
Posts: 13
The class file was copied into the same DIR as the HTML file.
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

And does the HTML correctly reference that class.... heck, why don't you just post the evidence so that we don't have to have a long Q&A session? HTML file, full stack trace of the error message, and so on.
I agree. Here's the link:
subject: Applet issues
It's not a secret anymore!