package com.jzm.memory;
public class Process {
public static void main(String[] args) throws Exception{
Runtime runtime = Runtime.getRuntime();
java.lang.Process process = null;
process = runtime.exec("notepad.exe");
}
}
如上,即可打开文本文档编辑器