- Java 9 Programming By Example
- Peter Verhas
- 75字
- 2021-07-02 23:37:36
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:

推薦閱讀
- Flask Web全棧開發實戰
- C++面向對象程序設計(第三版)
- Mastering ServiceStack
- JavaScript+jQuery網頁特效設計任務驅動教程(第2版)
- Dependency Injection in .NET Core 2.0
- 營銷數據科學:用R和Python進行預測分析的建模技術
- Java Web程序設計
- Asynchronous Android Programming(Second Edition)
- 區塊鏈底層設計Java實戰
- Java零基礎實戰
- Python自然語言理解:自然語言理解系統開發與應用實戰
- 深入分析GCC
- LabVIEW數據采集
- Drupal 8 Development Cookbook(Second Edition)
- Drupal Search Engine Optimization