title: Errors installing eclipse on Windows 7 64bit
body: <p>I'm trying to install Eclipse on my Windows 7 laptop.</p>
  
  <p>When trying to run eclipse.exe I got the following error:</p>
  
  <blockquote>
    <p>A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be
    available in order to run Eclipse. No Java virtual machine was found
    after searching the following locations: C:\ProgramFiles
    (x86)\Eclipse\eclipse\jre\bin\javaw.exe 
    javaw.exe in your current PATH</p>
  </blockquote>
  
  <p>I know that I have a JRE on my computer, so I modified the eclipse.ini file to point it to the correct location:</p>
  
  <pre><code>-vm
  C:\Program Files (x86)\Java\jre6\bin
  </code></pre>
  
  <p>Now when I run the eclipse exe file it starts to run, but then I get the following error:</p>
  
  <blockquote>
    <p>Failed to load the JNI shared library "C:\Program Files
    (x86)\Java\jre6\bin\client\jvm.dll"</p>
  </blockquote>
  
  <p>I tried adding the javaw.exe file to the path in eclipse.ini:</p>
  
  <pre><code>-vm
  C:\Program Files (x86)\Java\jre6\bin\javaw.exe
  </code></pre>
  
  <p>But then I get a long detailed error message:</p>
  
  <pre><code>---------------------------
  Eclipse
  ---------------------------
  Java was started but returned exit code=13
  C:\Program Files (x86)\Java\jre6\bin\javaw.exe
  -Xms40m
  -Xmx512m
  -XX:MaxPermSize=256m
  -jar C:\Program Files (x86)\Eclipse\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
  -os win32
  -ws win32
  -arch x86_64
  -showsplash C:\Program Files (x86)\Eclipse\eclipse\\plugins\org.eclipse.platform_4.2.1.v201209141800\splash.bmp
  -launcher C:\Program Files (x86)\Eclipse\eclipse\eclipse.exe
  -name Eclipse
  --launcher.library C:\Program Files (x86)\Eclipse\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813\eclipse_1503.dll
  -startup C:\Program Files (x86)\Eclipse\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
  --launcher.overrideVmargs
  -exitdata 1e38_58
  -vm C:\Program Files (x86)\Java\jre6\bin\javaw.exe
  -vmargs
  -Xms40m
  -Xmx512m
  -XX:MaxPermSize=256m
  -jar C:\Program Files (x86)\Eclipse\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar 
  ---------------------------
  OK   
  ---------------------------
  </code></pre>
  
  <p>Any ideas of how I can get Eclipse to run?</p>