Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In bash:

java -jar jarfile1.jar &
java -jar jarfile2.jar &

The ampersand lets you launch the first program, and then do another one while the first is still running.

How do I do this in cmd? (XP if it's relevant).

share|improve this question
up vote 15 down vote accepted

start with the /B option

Start application without creating a new window. The application has ^C handling ignored. Unless the application enables ^C processing, ^Break is the only way to interrupt the application

start /B java -jar jarfile1.jar

start /B java -jar jarfile2.jar
share|improve this answer

I like the answer from Nifle better but can't you just spawn a secondary cmd shell? You can do this ad nauseam.

cmd /c cmd /c cmd /c cmd /k echo Hello World!

For a number of reasons, his answer is better, specifically if you want to wait until one process is done (like MSI installation, not so relevant to your case). So, stick with start.

share|improve this answer
Yep, multiple cmd's is what I've been doing so far. – Cam Jackson Oct 12 '11 at 11:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.