jar文件我試圖創建命令 jar cfm ProductSalePerCountry.jar Manifest.txt SalesCountry/*.class
一個jar文件,我得到了無法建立在Ubuntu
The program 'jar' can be found in the following packages:
* default-jdk
* fastjar
* gcj-5-jdk
* openjdk-8-jdk-headless
* gcj-4.8-jdk
* gcj-4.9-jdk
* openjdk-9-jdk-headless
也是我無法使用nps
命令。目前我在我的ubuntu 16.04中安裝了jdk1.8.0_131。請建議解決問題。
您是如何在第一時間安裝Java的? –
我跟着[鏈接](http://www.guru99.com/how-to-install-java-on-ubuntu.html)安裝java。 –
'type java'的輸出是什麼? –