Click here to Skip to main content
15,879,239 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to run two jar files simultaneously in cmd
Posted
Updated 4-Sep-14 21:50pm
v2
Comments
[no name] 31-Jul-14 19:19pm    
What do you mean by "in cmd"? Is this a script, command shell, or some Java API? Is this Windows, Unix, Mac, Linux, or mobile?
Member 10946695 31-Jul-14 23:39pm    
cmd means command prompt

1 solution

This should work:

java -jar name1.jar ; java -jar name2.jar


That works for me, and it should work for you, but if that doesn't can you please tell me what OS you are using?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900