This content has been marked as final. Show 2 replies
How about the general java programming forum?
Most likely you need to make the command prompt / bash invoke that command in stead of invoking it directly. This article will teach you everything you need to know about runtime.exec(); read it well:
The scp command is not in the PATH of your Runtime environment. You need to specify the full path to scp, ie /usr/bin/scp or pass in the PATH into your Runtime.