Solution: Eclipse error ‘A Java Runtime Environment (JRE)…..No Java virtual machine was found ‘

I tried to run Eclipse on my Windows 7 64-bit machine and got the following error: A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations: D:\eclipse\jre\bin\javaw.exe javaw.exe in your current PATH This is what I Read more about Solution: Eclipse error ‘A Java Runtime Environment (JRE)…..No Java virtual machine was found ‘[…]