Javac “cannot find symbol”
First, To compile the java source file using javac you need to specify the files to compile explicitly. Example: you need not provide the path if the source file is in the current working directory. Second, whenever java encounters import abc.xyz.ClassName; it tries to resolve abc/xyz/ClassName with respect to the classpath or current working directory. … Read more