Source: KS && BB book:
When searching for class files, the java and javac commands don't search the current directory by default. You must tell them to search there. The way to tell java or javac to search in the current directory is to add a dot (.) to the classpath:
........the dot (.) at the end of the declaration instructs java or javac to also search for class files in the current directory. (Remember, we're talking about class files—when you're telling javac which .java file to compile, javac looks in the current directory by default.)
The two BOLD letter parts of the above quote confusing me a bit, will anybody please clarify the situation here.
These are conclusions I have drawn. Please correct if I am wrong at any of these point:
1> javac searches the current directory for .java file by default. 2> javac DOES NOT search the current directory for supporting .class files needed for the compilation .java file by default. 3> java never searches the current directory by default.