Hi, sorry for the delay in responding...
And actually sorry, but I don't know how to help. The fact that you can run cat and grep really is weird. The only thing I can think of is running find from the command line to make sure it works there. I don't know, maybe someone else can help...
Thankq ,
i found that using java Program through " Cygwin(Environment) " we can't run "find' , "awk" and 'redirection opertaior".so i changed my platform , now i have written the java program in linux machine itself ,using the Netbeans ide.Eventhough i cant able to run the Redirection Operator.

Command: ls >> newfile.txt

it doesn't create the newfile
i dont know y?
can any one plz help me on this....