There is only so much you can do from your own end, and the frustrating truth is that most of this problem sits with the game's servers.
Your side of the work is maintenance. Keep Java updated to the current release, since outdated versions are the single most common cause of the Java Platform SE Binary process failing. Clear the temporary Java cache as well, because a corrupted cached file will keep crashing no matter how current the installation is.
Check that your browser is supported and that no security software is blocking the Java process, then look at the game's official status page and forums. If other players report the same fault, the fix has to come from the developers, and no amount of reinstalling will help until they patch it.