You should know that that error you had means, that the class file mentioned cannot be found.
The classpath should include the folder or path where your classes (those files generated when you compiled your source code) are.
The dot character '.' represents the current directory. If the classes are in same folder where you are executing the run, the dot should be in the classpath. For example (Notice the dot after the = sign?):
On how to set the classpath, the FAQ might have it. [ February 18, 2007: Message edited by: Jesus Angeles ]
Joined: Feb 26, 2005
Just a quick fix if your situation is: >>>no package >>>the classes are in the folder where you executed the 'java' to run the program
Put this in your dos prompt, press enter, and run again