It seems that you messed up between the OS, JDK, and Eclipse. First of all, make sure that you’ve installed the right version of JDK for your environment. Unless you install the right combination it never gonna work.
Let me show you the correct combinations below:
64-bit OS, 64-bit JDK, 64-bit Eclipse (64-bit only)
64-bit OS, 32-bit JDK, 32-bit Eclipse
32-bit OS, 32-bit JDK, 32-bit Eclipse (32-bit only)
Kindly use any of these following combinations.