Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

java was started but returned exit code

when i was starting eclipse, i first got this error dialog: enter image description here

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:

enter image description here

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!

like image 668
Hamad Avatar asked Dec 16 '13 06:12

Hamad


1 Answers

You're trying to run a 64-bit Eclipse with a 32-bit Java Runtime. They have to match.

like image 99
nitind Avatar answered Nov 23 '22 11:11

nitind