官术网_书友最值得收藏!

Compiling and running the program

Finally, we will compile and execute our program from the command line. There is nothing new in this one; we will only apply what we have learned in this chapter using the following two commands:

    $ mvn package

This compiles the program, packages the result into a JAR file, and finally executes the following command:

    $ java -cp target/SortTutorial-1.0.0-SNAPSHOT.jar packt.java9.by.example.App

This will print the following result on the command line:

主站蜘蛛池模板: 灯塔市| 枝江市| 昭觉县| 东山县| 株洲市| 惠安县| 明水县| 伊金霍洛旗| 金秀| 盐山县| 隆子县| 济源市| 黄骅市| 吴忠市| 冀州市| 玉树县| 德钦县| 安丘市| 临漳县| 珠海市| 桦甸市| 凤山县| 南华县| 集贤县| 宜昌市| 莎车县| 大兴区| 开化县| 潮安县| 观塘区| 杭锦旗| 库伦旗| 白银市| 聂拉木县| 柳江县| 石门县| 武清区| 木兰县| 通化县| 河北区| 汉中市|