Java tutorial
public class Main { public static void main(String[] args) { try { // create a process and execute notepad.exe Runtime runTime = Runtime.getRuntime(); Process process = runTime.exec("notepad.exe"); } catch (Exception ex) { ex.printStackTrace(); } } }