Topic: 请问在java 里面怎么添加一个进程

  Print this page

1.请问在java 里面怎么添加一个进程 Copy to clipboard
Posted by: aibcn
Posted on: 2003-04-28 00:31

我想在java里面运行一个程序(比如windows下的计算器),我应该怎么做?先谢谢啦.

2.Re:请问在java 里面怎么添加一个进程 [Re: aibcn] Copy to clipboard
Posted by: mm
Posted on: 2003-06-05 10:13

你的问题高手是不会回答的,太简单了,照书上说的去做吧.

3.Re:请问在java 里面怎么添加一个进程 [Re: aibcn] Copy to clipboard
Posted by: shsen
Posted on: 2003-06-05 10:29

try
        {        
          Runtime.getRuntime().exec("notepad.exe readme.txt");
        }
        catch(java.io.IOException e1)
        {
          System.out.println(e1);
        }

4.Re:请问在java 里面怎么添加一个进程 [Re: aibcn] Copy to clipboard
Posted by: bbbaby
Posted on: 2003-06-05 12:39

thx


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923