开发者

Eclipse Java EE: When starting Application, stop old running instance

开发者 https://www.devze.com 2023-02-06 01:02 出处:网络
I am searching for a way in Eclipse to stop all running instances of a Java Application when clicking run, to assure 开发者_StackOverflowonly one instance of the program is running at the same time.

I am searching for a way in Eclipse to stop all running instances of a Java Application when clicking run, to assure 开发者_StackOverflowonly one instance of the program is running at the same time.

I am programming a server application and it's obvious that you can only run that once, just thing of the socket bindings etc.

Of course you can stop it manually each time, but as I also have client applications running I have to change the console each time and click the red stop icon. This is retarding the development process.

0

精彩评论

暂无评论...
验证码 换一张
取 消