This means that you need to install the 64 bit version of Java. Follow this link: http://www.java.com/en/download/manual.jsp
Next click on: “Windows Offline (64-bit)” and follow the prompts to install Java.
If you still receive the error, go into “Programs and features” from the Control Panel on your computer and uninstall the 32 bit version of Java.
Make sure you restart you computer after uninstalling the 32 bit version.