How can i run two java applications using a batch file? -


i want run 2 java applications located in 2 different projects in eclipse @ same time automatically , guess using batch file best way this. correct? or there better ways?

if it's best way, syntax batch file? need have jar files projects? batch files work on windows?

start java path\of\first\class start java path\of\second\class 

this launch both @ same time, assuming that's you're looking for. applications don't have packed in jar, can pass path of class containing main you'd run. might have pass few more arguments (such classpath), depending on setup.

and yes, work on windows (and possibly on dos).


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -