开发者

Regarding killing a particular Java.exe

开发者 https://www.devze.com 2023-04-02 14:21 出处:网络
I have java application say xxxx.exe. Which I manually kill that application, the corresponding Java.exe is still bound to the port, so that when I re-start my application. I cannot atta开发者_如何学C

I have java application say xxxx.exe. Which I manually kill that application, the corresponding Java.exe is still bound to the port, so that when I re-start my application. I cannot atta开发者_如何学Cch it to the port. When I check the log it says the connection is already established. JVM unable to bind?

When you kill the applicationname.exe, how would you force the corresponding java.exe file also to be killed?


Your Java application is launching the JVM... therefore you should have access to the process ID of the new JVM. Post some code for us to have a better understanding of what's going on.

0

精彩评论

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