title: IntelliJ - Can't start - "JAVA_HOME does not point to a valid JVM installation"
body: <p>For every other StackOverflow question that's been asked about this, <a href="https://stackoverflow.com/questions/10780283/java-home-does-not-point-to-the-jdk-unable-to-start-google-app-engine">here</a>, <a href="https://stackoverflow.com/questions/5124368/gradle-doesnt-work-in-intellij-problems-with-java-home">here</a>, and <a href="http://ubuntuforums.org/showthread.php?t=959556" rel="noreferrer">here</a>, I've followed all the steps to resolve this issue, and none have worked.</p>
  
  <p>When launching IntelliJ IDEA 64-bit on my 64-bit Windows 7 machine, I encounter the following error:</p>
  
  <pre><code>The environment variable JAVA_HOME (with the value of "C:\Program Files\Java\jdk1.8.0_74") 
  does not point to a valid JVM installation.
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/LbQsy.png" rel="noreferrer"><img src="https://i.stack.imgur.com/LbQsy.png" alt="Error launching IDEA"></a></p>
  
  <p>However, the file path does exist:</p>
  
  <p><a href="https://i.stack.imgur.com/h4UFT.png" rel="noreferrer"><img src="https://i.stack.imgur.com/h4UFT.png" alt="Filepath screenshot"></a></p>
  
  <p>And in my Environment Variables, I have set <code>JAVA_HOME</code> to that location:</p>
  
  <p><a href="https://i.stack.imgur.com/QQG6y.png" rel="noreferrer"><img src="https://i.stack.imgur.com/QQG6y.png" alt="Environment Variables"></a></p>
  
  <p>I've tinkered around with putting it in my User variables instead of the System and vice-versa, and tried putting it in both. It didn't work with the Java 7 JDK I had originally, so I just downloaded the Java 8 JDK and tried it - no dice.</p>
  
  <p>I also restarted my computer, and CMD can use <code>java</code> and <code>javac</code> with no problem at all:</p>
  
  <p><a href="https://i.stack.imgur.com/A6Jt7.png" rel="noreferrer"><img src="https://i.stack.imgur.com/A6Jt7.png" alt="enter image description here"></a></p>
  
  <p>Any help on how I could resolve this? My last resort is uninstalling and reinstalling IntelliJ, which I may have to do.</p>