It looks like the command
is using the correct case, because the exception message says "WTest" (assuming this is the exact message).
So my bet is that there is a system classpath set that does not include a dot (.) for the current directory. Try running with:
java -classpath . WTest
If this works, then
you should consider removing the system classpath. Or if it contains something you
really need, then add a dot for the current directory.