title: Eclipse gives “Java was started but returned exit code 13”
body: <p>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 </p>
  
  <pre><code>-vm
  </code></pre>
  
  <p>C:\Progra~2\Java\jdk1.7.0_45\bin\javaw.exe</p>
  
  <p>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</p>
  
  <p>There are many solutions online like :</p>
  
  <p><a href="https://stackoverflow.com/questions/11846758/myeclipse-10-does-not-start-java-was-started-but-returned-exit-code-13">MyEclipse 10 does not start &quot;Java was started but returned exit code 13&quot;</a></p>
  
  <p>but none of them works. Any insight?</p>