Originally Posted by
copeg
Separate the command line arguments. Suggested Reading:
ProcessBuilder (Java Platform SE 7 )
And I would not recommend running consecutive commands that depend upon a previous in a single exec operation - these operate at the shell level. If you must, I would recommend writing a script file containing the commands and then executing that script using ProcessBuilder or Runtime.exec
Hey Thanks , I am getting the result now after writing a shell script .. Thank You very much !!