Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要按顺序执行 2 个 jars 文件。number1.jar 需要在 number2.jar 执行之前运行并完成其执行。
如何在 Windows 环境下使用 BATCH 文件来实现这一点?
谢谢。
REM Run first and finish ... java -jar number1.jar REM .. then start number two. java -jar number2.jar