Take a look at this answer. You probably have to edit something in your eclipse.ini
file.
The guy who answered his question claims that the .ini
file contains the following instructions.
1. The -vm option and its value (the path) must be on separate lines.
2. The value must be the full absolute path to the Java executable, not just to the Java home directory.
3. The -vm option must occur before the -vmargs option, since everything after -vmargs is passed directly to the JVM
Check out those steps above and check out the other SO thread.