This might be a problem with classpath.
just unset ur class path, I mean echo %classpath% should be %classpath%
and try. It might work. else try experimenting
with just the classpath variable. This will solve this problem
make sure your classpath has a .
i.e..
.;(path of the to other jar files)
CLASSPATH environment variable should start with '.;'
e.g. CLASSPATH=".;C:\path1;C:\path2"