in windows, use the delimiter for classpath is semicolin (;)
So specify each path to be used, maybe use quotes if the path has spaces in it.
And to have the javac placed into the output folder, the -d parameter to javac to have it output into the desired output folder
Or, you should be able to specify the -sourcepath "C:\MyDir\src" as well to have it know to look in the src folder.
It has been so long since I have done anything with javac, years ago I started using Ant, the XML build file makes sense as it saves a lot of time typing all that stuff in, it reduces the chances of me typing it in incorrectly, and it is cross platform .
Error: Keyboard not attached. Press F1 to continue.