The situation is I have a java project which .java files scattered in many sub-folders. I want to use javac to compile all the .java but I tried command below and failed: javac -sourcepath src And error was: javac: no source files Usage: javac use -help for a list of possible options
So what should I do to compile this project? Thank you!