problem in calling rsh command Please help......
hi,
I want to execute some commands on unix through java, for this i want to run my program simulataneously on differnt machines so that i get data to compare.
I think i have to invoke the rsh command with the machine name for it but it is giving error as follows:
java.io.IOException: rsh eric52: not found
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:71)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:582)
at java.lang.Runtime.exec(Runtime.java:505)
at java.lang.Runtime.exec(Runtime.java:471)
at RunCommand.get(RunCommand.java:18)
at RunCommand.main(RunCommand.java:80)
what should i do?
How do i run a command on a remote machine?
Please help me

