title: intellij idea failed to create JVM error code -1
body: <p>I have intellij-idea installed. Although I have set JAVA_HOME environment variable referring to "C:\Program Files\Java\jdk1.8.0_45" but when I try to run it, I end up with the following error:</p>
  
  <pre><code>failed to create JVM: error code -1. JVM path: "C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.2\jre64\" if you have a 64-bit jdk installed, define a JAVA_HOME variable in Computer&gt; system variables&gt; system settings&gt; environment variables.
  </code></pre>
  
  <p>Windows 7_ 64-bit</p>