Java does not have primitives for ICMPs and traceroute. How to overcome this? Basically I\'m building code that should run in *nix and Windows, and need a piece of code that
You'll need the jpcap library (maybe the SourceForge jpcap is working too) and use the ICMPPacket class to implement the desired functionality.
Here is the Java traceroute implementation using the jpcap library .