Intellij idea failed to create JVM -1 error code

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

+4
source share
3 answers

The JRE_HOME environment variable may be set on your system. Remove this and try again. It usually overwrites the JAVA_HOME variable.

0
source

Please check the file phpstorm64.exe.vmoptionslocated in the folder binand delete the parameter

-XX:+UseG1GC

0
source

idea64.exe cmd ,

-1

Source: https://habr.com/ru/post/1684320/


All Articles