62,614
社区成员
发帖
与我相关
我的任务
分享
import java.awt.Desktop;
import java.io.File;
import java.io.IOException;
public class TestDesktop {
public static void main(String[] args) throws IOException {
// TODO Auto-generated method stub
Desktop desktop = Desktop.getDesktop();
desktop.open(new File("E:/Desktop.txt"));
}
}