Linux终端运行带参数的jar

一.打包(此处用的是eclipse)

(1)工程名右击,选择“Export”

(2)选择“Runnable JAR file”

(3)选择“Launch configuration”和jar要存放的路径

(4)点击“Finish”

二:运行

uacProdResult为参数,多个参数用空格隔开

猜你喜欢

转载自www.cnblogs.com/mrjade/p/9330612.html
今日推荐