my linux fan :thank you very mach ! I use the jdb notice you words. my program run well in "jdb" ,but it block in "javac" i you printStream to get the outputstream of process.use println(),flash(),to put passwd and confirm ,after i done this ,I call waitfor(). all this done well in jdb but it just block in javac .and I try to write this word in run(). also it done well in jdb (change the passwd ).but fail in javac .the process was "s".