Please post the full error message. Without it, I can only guess what the problem my be. My first guess is that the CLASSPATH variable does not include the location of the class you are trying to execute.
You should run "echo %CLASSPATH%" from the command line and paste the output here.
Layne