Applet Notinited Error

by mir on May 3, 2010

If you’ve used java applets before, you’re bound to have come across an applet notinited (red X) error. Why does this error occur? This error can occur for a couple of reasons.

Incompatible Java Version

If you still get an applet notinited, it could mean that the browser you use does not support the required Java version. To solve this problem, go to java.com, and download the latest Java version available for your browser or Operating System.

Class Not Found Exception

This exception is thrown when the Java class file (the one called by the applet) is not found. When you are uploading your java class file, make sure to set it in the right path, as well as checking to make sure that is named properly.

Poor Programming

If you tried the first two methods, and your applet still shows applet notinited, then it is most likely due to poor programming. What does this mean exactly? Java applets are executed in a sandbox within the browser, and have many restrictions for security purposes. Java applets cannot read files or open sockets, for example, without the proper permissions. To fix this, the programmer should either remove the offending code or sign the applet.

There could be causes to this problem, but those are the top three that come to mind.

No related posts.

Leave a Comment