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();
}
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();
}