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
精彩评论