A browser with JavaScript enabled is required for this page to operate properly.
Trail: Deployment
Lesson: Java Applets
Solving Common Applet Problems
Home Page > Deployment > Java Applets

Solving Common Applet Problems

This section covers some common problems that you might encounter when writing Java applets. After each problem is a list of possible reasons and solutions.

Problem: My applet does not display.

Problem: The Java Console log displays java.lang.ClassNotFoundException.

Problem: I was able to build the code once, but now the build fails even though there are no compilation errors.

Problem: When I try to load a web page that has an applet, my browser redirects me to www.java.com without any warning

Problem: I fixed some bugs and re-built my applet's source code. When I reload the applet's web page, my fixes are not showing up.

Problems with the examples? Try Compiling and Running the Examples: FAQs.
Complaints? Compliments? Suggestions? Give us your feedback.

Previous page: What Applets Can and Cannot Do
Next page: Questions and Exercises: Applets