when i was starting eclipse, i first got this error dialog:
After this error,i researched and found a solution here.
this solution asked me to give this line in 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:
after this error,i researched alot, and found these solutions sol1 ,sol2 after following these, error is not resolved. does anyone know why i am facing this problem.
note: i know this is kind of duplicate question, but all those duplicate question are not resolved yet, so do not mark this as duplicate!
If you have recently updated your java then please uninstall that update. It worked in my case. Hope it will help.
first of all remove line in eclipse.ini:
then
right click::my computer
select: properties
click on : advanced system setting
click on: environments variable
select: path
click: edit
copy on : your java(jdk) path eg.[C:\Program Files\Java\jdk1.7.0\bin]
paste on edit user variable dialog box: eg. [;C:\Program Files\Java\jdk1.7.0\bin.;]
ok/apply
then start ur eclipse and enjoy..........
You're trying to run a 64-bit Eclipse with a 32-bit Java Runtime. They have to match.