We have to write a tool to upgrade an existing installation of our Java based application. For that we need to determine whether our java application is running.
1. One way which I don't find that clean is listing all the processes on the machine and then find my application.
2. Other option is using jps, but it is part of JDK and not jre, so that rules it out.
Does java provide anything inbuilt to find all the running jvm on the host(something like jps)