Solution One
This is due to a problem with the JDK configuration error.
Generally speaking, the new purchase notebook will be preloaded with 64-bit Windows system, while downloading software on the Internet, 32 will appear first in the page (this is the case now, but I think the next 64 will become more and more popular).
If you are a 64-bit system, but the 32-bit JDK is installed, it will cause the above situation.
The solution is as follows:
Uninstall the 32-bit JDK that was originally installed, and then install the 64-bit JDK into your computer.
Re-modify both the path and CLASSPATH environment variables. Because of the 64 system, 32-bit software is installed back into the Program Files folder, 64-bit software will be installed into the Program Files folder, when you installed 32JDK, you set the environment variable path of course will include "Program Files" (* 86) ", and then the JDK has been transferred to" program Files ", modified to come.
Note that you install the JDK version number two times, not necessarily the same, because the installation will be based on your version number to build the JDK folder, if the version number two times, in the environment variable also to be modified.
Solution II
Cause 1: Jvm.dll does not exist in the given directory.
Countermeasures: (1) Reinstall the JRE or JDK and configure the environment variables. (2) Copy a jvm.dll placed in the directory.
Cause 2:eclipse version is inconsistent with JRE or JDK version
Countermeasures: Either both are installed 64-bit, either installed 32-bit, not one is 32 bit one is 64 bit.
The probability of cause 2 is greater, cause 1 is unlikely to happen