This error results most likely in having at least two different java-versions for 32bit and 64bit installed.

This is a common error caused by the auto-update from java only keeping the 64bit version updated, and leaving the 32bit version in an old state.


Please use this tool from java.com to verify your java-installation and remove old versions from your system:


http://java.com/verify


As an alternative, you can remove all java-versions your software management on your operating system shows, and after restarting your computer use the manual options to install java on your OS.


https://www.java.com/en/download/help/download_options.xml