Using java stops internet access

Every time I attempt to use a java application that requires internet access the network stops working. I cannot ping local ips or the router. This only happens after using…