title: How to kill a java thread using VisualVM or using a unix command?
body: <p>I m using windows 7 OS. I have around <code>6</code> threads in my application. For the purpose of testing the alerts to check the health of the threads, i need to kill the threads manually and check if the alerts are working properly. Can we kill a thread like how we kill a process with its <code>pid</code>?</p>