且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何执行命令行参数的jar

更新时间:2023-09-30 10:32:28

在命令shell试试这个:

Try this in the command shell:

java -cp your-classpath-dependencies-here -jar hello.jar "arg1" "arg2"

与做在蚂蚁的<&Java的GT; 内置的任务:

http://ant.apache.org/manual/Tasks/java.html