I'm surprised that you're having this problem, as your CLASSPATH setting looks correct to me, assuming that the specified paths are correct, of course.
Do things compile with the following command?
javac -classpath %CLASSPATH% Foo.java Just for fun, you might want to try putting your needed JARs in a path with no spaces in the name, setting the CLASSPATH accordingly, and see if things compile.
Just as a bit of encouragement, I've never seen a computer system where
Java could not be successfully installed with the CLASSPATH environment variable configured and working. So, don't give up. There's likely just some small thing that's configured incorrectly.