That's weird. I've tested it live many times through wifi, same local network, internet, etc, and never had serious lag issues or disconnects. If you play other games, those work okey? Try executing the jar through the command line and see what errors you get.