There's an architecture mismatch. Your JDBC Driver and your JDK should be of the same architecture. If your using 32bit Driver and your JDK is 64bits, you would get that error.
See this
Fix : Depends on your architecture.
You will need 64-bit drivers if your Java is 64-bit.