Generics have been around since 1.5.
C:\ documents and settings \ administrator & gtjavac
Usage: javac
Among them, possible options include:
-g Generate all debugging information
-g:none does not generate any debugging information.
-g:{lines, vars, source} only generates some debugging information.
-nowarn does not generate any warnings.
-verbose outputs a message about what the compiler is doing.
-deprecation output uses the source location of the expired API.
-class path & lt; Path > specifies the location to find user class files and comment handlers.
-CP & lt; Path > specifies the location to find user class files and comment handlers.
-source path & lt; Path > specifies where to find the input source file.
-boot class path & lt; Path > overwrites the location of the boot class file.
-ext dirs & lt; Directory > overwrite the location where the extension is installed.
-Endorser < Directory > the location of the standard path that overrides the signature.
-proc:{none, only} controls whether annotation processing and/or compilation is performed.
-processor & ltclass 1 >[, & ltclass2 & gt, & ltclass3 & gt...] The name of the comment handler to run; Bypass the default search process
-processor path & lt; Path > specifies where the annotation handler can be found.
-parameters generates metadata for reflection of method parameters.
-d & lt; Directory > specifies the location where the generated class file is placed.
-s & lt; Directory > specifies the location where the generated source files are placed.
-h & lt; Directory > specifies the location where the generated native header files are placed.
-implicit:{none, class} Specifies whether to generate class files for implicitly referenced files.
-encoding < code > specifies the character encoding used by the source file.
-source & lt; Distribution > provides source code compatibility with the specified distribution.
-target & lt; Distribution > generate a class file for a specific virtual machine version.
-profile < profile > please ensure that the API used is available in the specified profile.
-Version version information
-help outputs a summary of standard options.
-Keyword [= value] option passed to the comment handler
-X outputs a summary of non-standard options.
-J & lt; Mark > Passes pass directly to the runtime system.
-Werror terminates compilation when a warning appears.
@< file name > read options and file names from a file.