public class test { public static void main(String args[]) { try { Runtime.getRuntime().exec("自己的命令"); } catch (IOException e) { e.printStackTrace(); } }}