class="java" name="code"> String command = "taskkill /f /im mysqld.exe"; Runtime.getRuntime().exec(command);