learning java Runtime类中的exec var rt = Runtime.getRuntime(); // 类c语言当中的system()函数。 rt.exec("notepad.exe");