My understanding about classpath is that it tells the JVM where to find the .class files... But
SCJP 5 Exam Study Guide, tells that it can also be used with the javac compliler invocation (Ref: Chapter 10: Development) as below:
javac -classpath <path>
I am not able to understand the significance of the above invocation, since .class files donot have any role to play at the time of compilation( it is only the .java files that come in this scenario).
Can somebody clarify me the significance of javac -classpath <path>
Thanks.