PS D: ye Jiancheng, Java, primary, test_ Jsoup - replica > tree / F The compiled project structure is as follows: PS D: ye Jiancheng, Java, primary, test_ Jsoup - copy > javac. bin / demo folder (as ecplise does)įuck_ xyr.java The contents of the document are as follows: package demo Ĭompile command: javac. SRC / demo directory_ xyr.java, and will compile the_ xyr.class File output to the. Abort compilation on warning from werror Compile current project Hibernate outputs messages about what the compiler is doing Generates a class file suitable for the specified Java se distribution. System | none covers system module location Specifies where to find the input source file Provides source compatibility with the specified Java se distribution. S specifies the location of the generated source file Release compiles for the specified Java se distribution. Profile make sure that the API you are using is available in the specified configuration file Specifies where to find the comment handler Specifies the module path to find the comment handler The name of the comment handler to run bypasses the default search process g: controls whether annotation processing and / or compilation is performed. Extdirs covers the location of the installed extensions Endorseddirs override the location of the signature's standard path Encoding specifies the character encoding used by the source file Enable preview enables the preview language feature. Depredation outputs the source location using the obsolete API D specifies the location of the generated class file Specifies where to find user class files and comment handlers Override the location of the bootstrap class file In addition to the original module, if theĪll-module-path, all modules in the module path. Javac PS D: ye Jiancheng, Java, primary, test_ Jsoup - replica > javacĪmong them, the possible options read options and filenames from files Simple test fuck_ Xyr compile Compile command It was originally an ecplise project directory, which was deleted in a mess. The current engineering structure is as follows: PS D: ye Jiancheng, Java, primary, test_ Jsoup - replica > tree / FĬurrent location: PS D: ye Jiancheng, Java, primary, test_ Jsoup - replica > dirĭirectory: D: ye Jiancheng, Java, primary, test_ Jsoup - Replica Include all jars in the directory in the Java classpath Overview of engineering structure Refer to link 1: get out of the IDE and see how javac compiles