javac is a Java compiler for compiling Java programs to bytecode. Source files must have a java extension and be organized in a directory structure that reflects the package tree. The results are class files in a directory structure reflecting the package tree.
javac has the following syntax.
javac [options] [sourceFiles] [@argFiles]
where options are command-line options, sourceFiles one or more Java source files, and @argFiles one or more files that list options and source files.
You can pass source code file names to javac in one of two ways:
List the file names on the command line. This method is suitable if the number of ...