You are on page 1of 1

try{

Runtime r = Runtime.getRuntime();
Process win = r.exec("C:\\WINDOWS\\system32\\calc.exe");
//Process unix = r.exec("/usr/bin/ls");
}catch(Exception e){
System.out.println(e);
}

You might also like