yes , it now works correctly,thanks for your help ! then i have another question:) i want to add a GUI to my bro with java,so i can start,close,config bro in windows conveniently. the problem is, how can i run a shell command in java program? thanks again!