Your version of Eclipse is 64-bit, based on the paths and filenames. However, the version of Java that it’s picking up is 32-bit. This can happen when a system has more than one JVM installed, as is often the case on Windows 64-bit.I found that PATH variable (on Windows) was probably changed. First in my PATH was this entry:
C:\Program Files (x86)\Java\jre1.8.0_51\bin;C:\ProgramData\Oracle\Java\javapath;
I replaced above with 64bit java path as below and it started working perfectly
C:\Program Files\Java\jdk1.8.0_25\bin;