How to kill a process in Java, given a specific PID

I don’t know any other solution, apart from executing a specific Windows command like Runtime.getRuntime().exec("taskkill /F /PID 827");

Leave a Comment