Process proc=Runtime.getRuntime().exec("notepad");//打开记事本
java 打开记事本
原文:https://www.cnblogs.com/ms-grf/p/8309420.html