Regarding killing a particular Java.exe
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.
精彩评论