Does anyone know how to implement ICMP packets in java?
You can't without using JNI. There was discussion about adding rawsocket support in a future version of Java, but I am not sure if andwhen it will happen.