posted 13 years ago
If, from the command line, you were to simply execute javac New.java, then the class file would be compiled, but no directory structure would be created by the compiler and the compiled class file would be placed in the current working directory. The command javac -d . New.java would create a directory structure in the current working that matched the package declaration and place the compiled class file in the appropriate subdirectory. Take a look at The javac Documentation for more information/details concerning the d and other switches available for use with javac.