62,616
社区成员
发帖
与我相关
我的任务
分享
public static void main(String[] args) {
String[] cmd = new String[] {
"cmd.exe","/C","java -jar d:\\ReceiveTraffic.jar"};
try {
Runtime.getRuntime().exec(cmd);
} catch (Exception e) {
e.printStackTrace();
}
}