Eclipse is not opening in Windows 7

Eclipse is not opening in Windows 7. It is showing some error. but i have already installed java in my system.
i need to run Eclipse to test C & C++ programs. How to solve this?

Java Development kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found.


You need to change your system path in environment variable. Go to start -> control panel
type advanced system settings and click search option. Under system option you can find advanced system settings. In system Properties select advanced -> environment variables
environment variables
Choose path and click the edit button.
set PATH as

C:Program FilesJavajre1.6.0_03bin ;%PATH%

now restart your computer and check it. Your will be solved.