Search code examples
javalinuxwindowstraceroute

Java - API support for traceroute?


Is there anyway I can get the output of traceroute in java. I know I could use exec but I want to know if there is any API can fetch the output for me not worrying about platform.


Solution

  • Can you try using the following API :

    http://jakewharton.github.io/pingdom-java/apidocs/com/jakewharton/pingdom/entities/TraceRoute.html

    GitHub link:

    https://github.com/JakeWharton/