I am looking for a way in Eclipse to stop all running instances of a Java application when you click run to ensure that only one instance of the program starts at a time.
I am programming a server application, and it is obvious that you can only run once, just socket bindings, etc.
Of course, you can stop it manually each time, but since I also have client applications, I have to change the console each time and click the red stop icon. This slows down the development process.
source
share