Error opening eclipse.exe for 1st time
For download and installation of eclipse, please eclipse setup
For the 1st time, while opening the eclipse.exe, you may get an error as shown above screenshot, “No Java virtual machine was found after searching the following locations: c:/program files/java/jdk1.8.0_05/bin/javaaw.exe”
In you error dialog the version of JDK shown may be different.
What is the cause:
- Platform chosen for the JDK may be wrong, e.g: 64bit JDK chosen for 32bit windows OS or vice versa.
- version shown on the error dialog may be different than the JDK version installed on machine.
How to fix:
- Chose proper platform of JDK, 64bit JDK for 64bit OS, 86 for 32bit OS.
- Open the folder explorer where eclipse is extracted,
Right click on eclipse.ini file and edit the line under -vm section to correct version of JDK, relaunch eclipse.exe (you should be fine opening eclipse IDE by now)
Content posted is based on learning or working experience, please leave comments if anything needs to be added or updated, discuss your queries on our facebook:qavalidation.com, Thanks!