This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.