I want my application to check if another version of itself is already running.
For example, demo.jar started, user clicks to run it again, but the sec
demo.jar
This is also a good solution if your Appication can schedued in task manager with a unique name
"tasklist /FI \"IMAGENAME eq "+MyApplication+".exe