When you open eclipse, the error message is as follows:
This problem occurs because eclipse cannot find the path to the Javaw.exe
Open Eclipse.ini File:
-startup
Plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
-product
Org.eclipse.epp.package.Java.product
--launcher.defaultaction
OpenFile
--launcher. Xxmaxpermsize
256M
-showsplash
Org.eclipse.platform
--launcher. Xxmaxpermsize
256m
--launcher.defaultaction
OpenFile
--launcher.appendvmargs
-vmargs
-dosgi.requiredjavaversion=1.6
-xms40m
-xmx512m
Add between OpenFile and--launcher.appendvmargs:
-vm
C:\Program Files\java\jdk1.8.0_31\bin\javaw.exe
The location where the Javaw.exe is added.
I follow the above method to add, still prompt the error message,
I want to C:\Program Files\java find Javaw.exe, sure enough, incredibly in the C:\Program files\ there is no Java this file (I clearly installed it),
I'm going to reload.
Attention:
The location of the installation is the location of the Javaw.exe. This is also when configuring environment variables, path needs to correspond.
Once the installation is complete, then restart Eclipse, OK.
Eclipse Startup error No Java Virtual machine was found