I finally learned Jar.
] . . JAR's question often see someone on the Internet: How to compile the Java program into .exe file. Usually answers only two, one is to make an executable JAR file package, you can double-click on the .chm document; and another answer, use Jet to compile. But Jet is to buy with money, and it is said that JET is not compiled into executables in all Java programs, and performance is also a discount. Therefore, the method of making executable JAR file packages is the best choice, let alone, it can maintain Java cross-platform feature. , for example, your Class class TEST is in Dir this folder So under the folder of C: /../ DIR, Jar CVFM Test.jar Manifest.mf Test {CTXU} is the subcommand of the jar command, each JAR command can only contain CTXU One, they also expressed respectively: -c Create a new JAR file package Existing JAR file packs (add files to JAR files) _v generation detailed report and print To standard output -f specified JAR file name, usually this parameter is required to specify the Manifest manifest file that needs to be included. -0 is stored, the JAR file package is not comparable to this parameter. The resulting volume is large, but the speed is faster - MANIFEST] file, this parameter is ignored [jar- file] [JAR-file], you need to generate, view, update, or unwinder JAR file package, it is an accessory parameter of the -f parameter [manifest-file], the manifest manifest file, it is the accessory parameter of the -m parameter [-c directory] indicates that it is transferred to the specified directory to do this The operation of the jar command. It is equivalent to the first use of the CD command to execute the JAR command without the -c parameter, which can only be available when creating and updating the JAR file. file name ... specified one File / Directory list, these files / directories are to add files / directories in the JAR file. If the directory is specified, the JAR command will automatically put all the files and subdirectories in this directory into the package. :00