The problem is that the source for the applet is compiled with a newer version of Java than the one installed on your system.I see the error ": Bad version number in. The browser displays a ClassCastException.Īpplet is not loaded in my webpage. Of trouble is using the ASCII mode of FTP (rather than Make sure the applet's class and data files.Make sure all the applet's class and data files can be read by everyone.Did you copy all the data files for your applet .The compiler produces one class file per class. Does your applet define more than one class?Įven if all the classes are defined in one source file,.Now that I have copied my applet's class file onto my HTTP server, the applet So that it works well with the page color. You need to set the background color of the applet.The background color of my applet causes the applet not to match or flicker, when it is drawn on a page of a different color. Managing Source and Class Files for information about the CLASSPATH environment variable. Make sure that you don't have an old copy of the applet in a directory in If you get an old version of the applet, no matter what you do,.Invoking it anew every time you change the applet. This is why we recommend that you simply use the JDK Applet Viewer, In many applet viewers (including browsers),.
I recompiled my applet, but my applet viewing application
After each problem there is a listĪpplet Viewer says there is no tag on my HTML page, This section covers some common problems that you might encounter