Just add the jar files to your CLASSPATH environment variable defined in autoexec.bat (if you don't have it defined there, do so). Also make sure to include "." (the current directory) in the classpath as that tends to cause problems sometimes too.
So, change your autoexec.bat, make *sure* the paths are completely correct (i.e. don't forget those colons on the drive letters), restart your machine, and try to compile it.
So, change your autoexec.bat, make *sure* the paths are completely correct (i.e. don't forget those colons on the drive letters), restart your machine, and try to compile it.