请问哪位高手知道如何隐藏CMD运行窗口呢,当执行process = Runtime.getRuntime().exec的时候。

解决方案 »

  1.   

    JAVA好像没有办法隐藏,VC倒是可以做到
      

  2.   

    try {
                 Runtime.getRuntime().exec("explorer.exe   http://www.google.cn/");
             } catch (Exception e) {
                 e.printStackTrace();
             }
    我这里怎么没出来CMD窗口 ??
      

  3.   

    process= Runtime.getRuntime().exec("cmd /c start/wait C:/postagger-1.0/tagger.exe -i C:\\jbuilder\\POS\\question.txt -o C:\\jbuilder\\POS\\result.txt ");
    process.waitFor();这是我的代码  真的就没有认能帮我解决这个问题?请多多关注这个问题啊!谢谢了
      

  4.   

    我的运行环境是JBUILDER 2006如何用JAVAW啊,谢谢大家,快给点建议啊!