开发者

Run two JARS sequentially one after another using a BATCH file

I need to execute 2 jars files in sequence order. number1.jar need to run and finish its execution before number2.jar is executed.

How could I achieve this 开发者_StackOverflow中文版using a BATCH file under a Windows environment?

Thanks.


REM Run first and finish ...
java -jar number1.jar

REM .. then start number two.
java -jar number2.jar
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜