When I started the eclipse, I first got this error dialog box: 
After this error, I researched and found a solution here .
this solution asked me to pass this line to eclipse.ini:
-vm C:\Program Files (x86)\Java\jdk1.7.0_25\bin\javaw.exe
but after adding this, I found another kind of error dialog box:

After this error I researched a lot and found these solutions sol1 , sol2 after which the error will not be fixed. Does anyone know why I came across this problem.
note: I know that this is some kind of recurring question, but all these recurring questions have not yet been resolved, so do not mark this as a duplicate!
source share