I want to run traceroute command through my application.
How do I do this?
Runtime.getRuntime().exec("traceroute google.com")
not working.
java.io.IOException: Error running exec(). Command: [traceroute, -4, google.com] Working Directory: null Environment: null 11-02 12:51:38.399: E/trace(1604): at java.lang.ProcessManager.exec(ProcessManager.java:224)
Is there another way like using NDK or else.
Please help me out.