Regarding automatic recompilation, I can't spot the difference between javac's -classpath and -sourcepath options
问题 I'm trying to understand the difference between javac's -classpath and -sourcepath options, regarding automatic recompilation of source code files. I read the Java documentation on the subject of javac, and for its -sourcepath option it stated - Note: Classes found through the class path may be subject to automatic recompilation if their sources are also found I also looked at this webpage (idevelopment.info), to learn more about javac's -classpath and -sourcepath options. In their example,