How to kill a application

Hi AllHow can I kill an application on Windows box using Java.Right now I use Task Manager and kill the application using End Task. I want to be able to do this from my Java program.Please let me know.ThanksModha/-
[256 byte] By [bib1a] at [2007-11-27 3:45:17]
# 1
with great difficulty. so much so that it's almost certainly not worth the bother. it can't be done at all using just java, you need native code, and if you're going to go to that bother you may as well write the whole thing in native code
georgemca at 2007-7-12 8:48:59 > top of Java-index,Java Essentials,New To Java...
# 2
http://www.microsoft.com/technet/sysinternals/utilities/pskill.mspxSince you seem to be interested only by Windows, get pskill.exe fromMicrosoft and Runtime.exec() it from Java.
baftosa at 2007-7-12 8:48:59 > top of Java-index,Java Essentials,New To Java...
# 3
Perfect.
bib1a at 2007-7-12 8:48:59 > top of Java-index,Java Essentials,New To Java...