SOLVED: I reinstalled JDK and it works fine. When I run Eclipse, it will show the splash screen for a split second and then close. I tried removing everything like the eclipse and all my workspace ...
I need to install eclipse to use with PHP, so I downloaded it from eclipse.org, extracted the zip file, and tried to install eclipse. It was throwing an error like "JRE or JDK must be available ...