Run Unix Find command using java Program

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Oct 2008
Posts: 34
Reputation: brianlevine is an unknown quantity at this point 
Solved Threads: 5
brianlevine brianlevine is offline Offline
Light Poster

Re: Run Unix Find command using java Program

 
0
  #11
Oct 20th, 2008
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...
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 26
Reputation: babusek is an unknown quantity at this point 
Solved Threads: 1
babusek babusek is offline Offline
Light Poster

Re: Run Unix Find command using java Program

 
0
  #12
Oct 21st, 2008
Originally Posted by brianlevine View Post
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....
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for Java
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC