Java自动起动Tomcat public static Process run(String cmd, String[] envp, File dir)throws IOException {Runtime rt = Runtime.getRuntime();return rt.exec(cmd, envp, dir);}
?