CodePudding user response:
Because the compiled class file is in the target directory and program is to run the class files, not running. Java fileCodePudding user response:
But I say this is not entirely accurate, should be put first. Java file compiled into a class file, and then program to run these class filesCodePudding user response:
The target directory is your deployment directory, your program is running under the directory, so you get to this directory