Ooh.. I totally misread what you wanted :P I thought you wanted to kill your java program's process, but instead you want to kill a different process... yes, see the above two posts for how to do...
Type: Posts; User: helloworld922
Ooh.. I totally misread what you wanted :P I thought you wanted to kill your java program's process, but instead you want to kill a different process... yes, see the above two posts for how to do...
There is the System.exit() method that will force your program to stop execution, but you need to be careful using this, especially if you have either an Event driven model or a multi-threaded...