[英]java- how to run JAR file in Windows command line which has run time arguments containing “<” and “>” chars
I am trying to run a JAR file that accepts 3 arguments. 我正在尝试运行一个接受3个参数的JAR文件。 This is my command-
这是我的命令 -
c:\Arvind_gpd>java -jar icasae.jar c:\Arvind_gpd\inv_new <data> </data>
However I am getting this error0 但是我得到了这个错误0
< was unexpected at this time.
How do I pass the parameters "<data>"
and "</data>"
correctly in my invocation of the JAR file so that the execution is successful. 如何在调用JAR文件时正确传递参数
"<data>"
和"</data>"
,以便执行成功。
用双引号括起参数。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.