Hello. Working on a Windows 7 Pro 64-bit system, that has the 64-bit Java J
This is a VERY crude method to fix it but worked for me.
I faced this same error.
It appeared from above comments that this happens due to some sort of conflict between various versions of JREs. I simply searched for java.exe on my entire machine and deleted all the directories that contained Java.
I know this is crude but works for me as I did not use any of those programs.
I guess removing all these directories from PATH variable could have worked as well
amol