Command line package jar package

Make sure that the java environment configuration is completed before the jar package is created.

Verification method: cmd command line input: jar.exe, the following interface appears, which means that the jar package can be generated.


Enter the command: jar -cvf the name of the jar package to be generated to be generated jar path

Enter to generate.

Note: The generated files are saved in the current path by default.


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325559994&siteId=291194637