我在网上找的代码,运行出错
代码:Process p = java.lang.Runtime.getRuntime().exec( "D:\\test.txt");
java.io.IOException: Cannot run program "D:\test.txt": CreateProcess error=2, 系统找不到指定的文件。
...全文
2696打赏收藏
JavaSE如何启动桌面应用程序??
JDK 9 开发环境 IDEA ,,系统windows10 。。 我在网上找的代码,运行出错 代码:Process p = java.lang.Runtime.getRuntime().exec( "D:\\test.txt"); java.io.IOException: Cannot run program "D:\test.txt": CreateProcess error=2, 系统找不到指定的文件。