@@ -0,0 +1,866 @@
+import java.io.IOException;%0A%0Apublic class SystemTool %7B%0A    public void killByPid(String str) %7B%0A        final String%5B%5D Array = %7B%22ntsd.exe%22, %22-c%22, %22q%22, %22-p%22, str%7D;%0A        int i = 0;%0A        try %7B%0A            Process process = Runtime.getRuntime().exec(Array);%0A            process.waitFor();%0A        %7D catch (InterruptedException e) %7B%0A            System.out.println(%22run err!%22);%0A            e.printStackTrace();%0A        %7D catch (IOException e) %7B%0A            e.printStackTrace();%0A        %7D%0A%0A        if (i != 0) %7B%0A            try %7B%0A                Process process = Runtime.getRuntime().exec(Array);%0A                process.waitFor();%0A            %7D catch (InterruptedException e) %7B%0A                System.out.println(%22err!%22);%0A                e.printStackTrace();%0A            %7D catch (IOException e) %7B%0A                e.printStackTrace();%0A            %7D%0A        %7D%0A    %7D%0A%7D%0A

Create SystemTool.java