I've had a similar issue in the past and I found the issue (for me at least) was that my JDK was interfering with the java client somehow. I removed my JDK and it worked fine. Now if you need JDK for other things, I would try uninstalling your JDK and reinstalling the latest version and try again. If that doesn't work you could try the other way around and do the same for JRE.