在java 里调用cmd示例 destroyed · 2009-03-10 14:35 · java技术 · Markdown Runtime r =Runtime.getRuntime(); String cmd="net start tomcat"; r.exec(cmd);