Is there a way in Windows to check to see if a program is running (in this case a java application) and if it isn't running (because of a crash) re-run it?
will return details for each process matching
NB. if you need this to run frequently, then other options should also be considered (e.g. Performance Monitor alerts can launch an application, or even a custom service).