If your client progam is the only one that going to run that jar file, then you can have a static variable to indicate if that process has been ever started before.
If the new process that you start is not a child of your client program and when the client process restarts for some reason then you might end up in a situation where your static varible has wrong value.