intellj idea packaged jar

description:

Packaged java project jar with intellj idea tool

step:

1:File - Project Structure

 

 2: To select a portion of FIG. 1 in the class where the main method, part 2 is to be noted, to the java folder on the line, the stop down

 

 3. FIG. 2 is a part output path jar package

 

 4. A copy of the jar out into a directory, cmd with java -jar zkxtd.jar can be started

 

Guess you like

Origin www.cnblogs.com/zhouheblog/p/11544240.html