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

推薦閱讀
- 劍指JVM:虛擬機實踐與性能調優
- Learning RabbitMQ
- SAS數據統計分析與編程實踐
- MATLAB for Machine Learning
- 數據結構案例教程(C/C++版)
- Android開發案例教程與項目實戰(在線實驗+在線自測)
- WordPress 4.0 Site Blueprints(Second Edition)
- Building Machine Learning Systems with Python(Second Edition)
- Cocos2d-x Game Development Blueprints
- HTML5+CSS3+JavaScript 從入門到項目實踐(超值版)
- 分布式數據庫原理、架構與實踐
- Application Development with Parse using iOS SDK
- PHP 8從入門到精通(視頻教學版)
- Building Clouds with Windows Azure Pack
- Tkinter GUI Programming by Example