String path = "notepad.exe"; //(C:\Program Files\Tencent\QQ\Bin\qq.exe)
try {
Runtime runtime = Runtime.getRuntime();
Process process = runtime.exec(path);
} catch (IOException e) {
e.printStackTrace();
}
原文地址:http://www.cnblogs.com/u0mo5/p/4001274.html