To put it simply, who is still using javac now, there is probably only IDE, it helps us to pack these well, we just need to click a button to run it. Over time, how does javac help, I don't know what functions are provided. Let's take a look at it and learn about it.
Usage: javac <option> <Source File>
Option:
-G: None does not generate any debugging information
-G: {lines, vars, source} only generates some debugging information
-Nowarn does not generate any warning
-Verbose outputs messages about the operations being performed by the compiler.
-Deprecation: output the source location of an outdated API
-Classpath <path> specifies the location for searching user class files.
-CP <path> specifies the location for searching user-class files
-Sourcepath <path> specifies the location of the Input Source file to be searched.
-Bootclasspath <path> overwrites the position of the boot class file
-Extdirs <directory> overwrites the location of the installed extension directory.
-Endorseddirs <directory> overwrites the location of the standard path of the signature.
-D <directory> specifies the location where the generated class files are stored.
-Encoding <encoding> specifies the character encoding used by the source file.
-Source <version> provides source compatibility with the specified version.
-Target <version> generates class files of a specific VM version.
-Version Version Information
-Help: output the summary of standard options.
-X outputs a feed of non-standard options
-J <flag> directly transmits the <flag> to the runtime system