- 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:

推薦閱讀
- Java EE 6 企業級應用開發教程
- OpenStack Cloud Computing Cookbook(Fourth Edition)
- 游戲程序設計教程
- Java Web應用開發技術與案例教程(第2版)
- Flash CS6中文版應用教程(第三版)
- C程序設計案例教程
- 大模型RAG實戰:RAG原理、應用與系統構建
- Python忍者秘籍
- Learning AngularJS for .NET Developers
- Managing Microsoft Hybrid Clouds
- QPanda量子計算編程
- Sails.js Essentials
- Instant Apache Camel Messaging System
- KnockoutJS Blueprints
- Python自動化運維:技術與最佳實踐