I sorted my issue by doing:
sudo setcap cap_net_raw=+ep $(readlink -f $(which java))
This let java issue ICMP packets without being root.
I sorted my issue by doing:
sudo setcap cap_net_raw=+ep $(readlink -f $(which java))
This let java issue ICMP packets without being root.