Same problem here, updating java also solved the problem.
given that the OP posted a comment stating resolution a month earlier.
Thanks for your efforts to help guys, but nothing was working. But, finally found the solution. EXTREMELY embarrassed to say that I needed to update the JAVA on my machine. Apologies...
My personal judgement would call this answer a comment following the OP's, caused by the fact that the 1-rep user can't post comments yet. But at the same time "update your java install/make sure your java install is up to date" is the actual answer and the OP could decide to accept this answer, possibly after having it rewritten a bit to "make sure your java install is up-to-date".
Would I be right in my reasoning of flagging as "not an answer"? I realise this is quite a trivial question but I'd rather not send another false flag into the heap. So I'd rather ask here first.