Hi Prashant,
such an error -as you point out- is affecting a Java command. After a quick search online I found the following:
“Probably for some reason the connection dropped. There are a number of different reasons that can happen, including
system overheating
driver problems with your ethernet card
hardware problems with your ethernet card
drive fills up or your quota is reached
configuration of firewalls on your network
difficulties with your ISP’s configuration
reaching a transfer volume maximum with your ISP
hardware or software problems with the network equipment at your ISP or further on the network (beyond your control)
network congestion
destination gets busy and drops the connection
“