SyntaxFix
Write A Post
Hire A Developer
Questions
Try it:
String command = "killall <your_proccess>"; Process p = Runtime.getRuntime().exec(command); p.destroy();
if the process is still alive, add:
p.destroyForcibly();