All hell broke loose after i uninstalled my java 6 and installed java 7 (both jdk and jre). On opening eclipse it gave the error that "No JVM found at.....". So, i explicitly gave the location of javaw.exe as
-vm
C:\Progra~2\Java\jdk1.7.0_45\bin\javaw.exe
in the eclipse.ini file. Now it says "Java was started but returned exit code 13". Also, in the elispse.ini file i changed -Dosgi.requiredJavaVersion=1.5 to -Dosgi.requiredJavaVersion=1.7
There are many solutions online like :
MyEclipse 10 does not start "Java was started but returned exit code 13"
but none of them works. Any insight?