2

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.

Adi GuN
  • 1,244
  • 3
  • 16
  • 38

2 Answers2

2

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/

Juned Ahsan
  • 67,789
  • 12
  • 98
  • 136
  • Isn't that a REST ful API? I'm not sure can I use it in a java program. If so can you give an example – Adi GuN Jul 11 '13 at 07:27
0

If you don't want to do specifically in a language, i would recommend you to go to the command line and type tracert www.google.com,it will give you the desired result

Vamsi Pavan Mahesh
  • 240
  • 1
  • 8
  • 30