I'm trying to execute the following command using Java
Process acquirInterfaces = Runtime.getRuntime().exec("dumpcap -D");
and getting error as
java.io.IOException: Cannot run program "dumpcap": java.io.IOException: error=2, No such file or directory
Linux box where im executing this command has got installed with dumpcap which is located under (/usr/local/bin)
What is the mistake im doing, please help