i have a java project, works as a server. when an instance of this project running, i can run another instance.
how can i avoid running of more than one instance on same java project at the same time?
(Stop the server when another instance is detected)
i have a java project, works as a server. when an instance of this
Share
i used this code and it work try it