You got an error message java.lang.NoClassDefFoundError, this should happen
when you are trying to compile java program with wrong name. for ex. (1)If
your program's name is DeitelDrawing you may have entered javac
deiteldrawing or javac Deiteldrawing, as you already know JAVA is case
sensitive. So please check you have entered class name as you specify while
creating it. (2)Or you may have in other folder than your class is in? (3)
Or check your classpath.
I hope this is helps you?