Such as I originally installed is jdk1.7, now to use the jdk1.8, so I installed a jdk1.8, install jdk1.8, open eclipse to prompt such information, the Internet to check that the environment variable path needs to be modified, the original is installed 1.8, it automatically in the path of the value of the first add a What to do: "C:\ProgramData\Oracle\Java\javapath;", this is 1.8 self-added, so, later configured "%java_home%/bin;%java_home%/jre/bin;" Eclipse doesn't have to, but because eclipse requires 1.7, it now looks at 1.8 in path, so it prompts for such errors.
Solution: The simplest is to put the value inside the path "%java_home%/bin;%java_home%/jre/bin;" and "C:\ProgramData\oracle\Java\javapath;" Front.
For example, my Path value setting (modified):%java_home%/bin;%java_home%/jre/bin; C:\ProgramData\Oracle\Java\javapath; C:\Program Files (x86) \common files\netsarang;%systemroot%\system32;%systemroot%;%systemroot%\system32\wbem;% Systemroot%\system32\windowspowershell\v1.0\;%maven_home%\bin; C:\Program Files (x86) \oracle\instant Client\Bin; C:\Program Files\git\cmd
Notice the first value, so there should be no problem and you can open eclipse normally.
Eclipse report JVM terminated.exitcode=2 Exception resolution