title: java was started but returned exit code
body: <p>when i was starting eclipse, i first got this error dialog:
  <img src="https://i.stack.imgur.com/fP7kC.png" alt="enter image description here"></p>
  
  <p>After this error,i researched and found a solution <a href="http://wiki.eclipse.org/Eclipse.ini#-vm_value:_Windows_Example" rel="nofollow noreferrer">here</a>.</p>
  
  <p>this solution asked me to give this line in eclipse.ini:</p>
  
  <pre><code>-vm
  C:\Program Files (x86)\Java\jdk1.7.0_25\bin\javaw.exe 
  </code></pre>
  
  <p>but after adding this, i found another kind of error dialog:</p>
  
  <p><img src="https://i.stack.imgur.com/hbmtZ.png" alt="enter image description here"></p>
  
  <p>after this error,i researched alot, 
  and found these <strong>solutions</strong> <a href="https://stackoverflow.com/questions/17166007/when-starting-up-eclipse-c-c-it-doesnt-open-but-gives-a-error-java-was-start">sol1</a> ,<a href="https://stackoverflow.com/questions/19027485/eclipse-exiting-with-java-was-started-but-returned-exit-code">sol2</a>
  after following these, error is not resolved. does anyone know why i am facing this problem.</p>
  
  <p><strong>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!</strong></p>