用JAVA来启动进程,
有一个.EXE的应用程序,我要按设定的标记,让它自动重起和关闭

解决方案 »

  1.   

    Runtime.exec(你要运行的EXE路径);
      

  2.   

    Runtime run = Runtime.getRuntime();
            
            try {
                run.exec("D:\\sl3com\\SLCOM.exe");            
            } catch (IOException e) {
                System.out.println("IOException "+e);
            }程序运行的时候,报读取配置文件有错,请问怎么办