I have an intellij-idea. Although I set the JAVA_HOME environment variable with reference to "C: \ Program Files \ Java \ jdk1.8.0_45", but when I try to start it, I get the following error:
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> system variables> system settings> environment variables.
Windows 7_ 64-bit
source
share