Launch error: could not create the Java virtual machine. A fatal exception has occurred
13:57 10 Jun 2017

Below is my Eclipse.ini

-startup
plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.401.v20161122-1740
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-vm C:\Program Files (x86)\Java\jre1.8.0_111\bin\javaw.exe

I did add the path for javaw.exe looking at some posts. But this addition just gave me a new error

  1. How to fix this in my computer?

  2. If someone can explain me on this launch config stuff in Eclipse?

java eclipse windows-10 64-bit