Appletviewer can't find class...but IE works fine
I'm doing the VERY FIRST applet example in this book...MyFirstApplet. It works fine from Internet Explorer, but it has problems in Appletviewer:
load: class MyFirstApplet.class not found
java.lang.ClassNotFoundException: MyFirstApplet
The file MyFirstApplet.class is in the same folder as the .java and .html files. Compiled the .java with "-cp ." for classpath.
Any ideas?
I can't believe that I can't even do the VERY FIRST example. Not a good start!
|