1.Runtime.exec(String cmd),如果是Daemon一般运行不好(如打开一个cmd窗口),能直接返回的可以。
2。看一看java.util.Timer类啊,做一个Daemon,new 一个Timer(),再schedule一下就OK啦。