IntelliJ - Can't start - “JAVA_HOME does not point to a valid JVM installation”

后端 未结 9 1999
情歌与酒
情歌与酒 2021-01-08 00:48

For every other StackOverflow question that\'s been asked about this, here, here, and here, I\'ve followed all the steps to resolve this issue, and none have worked.

相关标签:
9条回答
  • 2021-01-08 01:23

    I faced the same issue.. My mistake was I was taking the path till /bin/ and putting ; at last.

    Correct is - JAVA_HOME=C:\Program Files\Java\jdk1.8.0_92

    no /bin/ no ';'

    0 讨论(0)
  • 2021-01-08 01:26

    Had the same issues opening PHPSTORM from command line. Solution was to download jdk version 8 x86(32bit). Edit settings in Environment Variables by setting JAVA_HOME path in user variables for... to C:\Program Files (x86)\Java\jdk1.8.0_221

    0 讨论(0)
  • 2021-01-08 01:30

    The java and javac executables are using the PATH environment variable, while intelliJ is using JAVA_HOME variable. Remove the additional quotation marks in your JAVA_HOME value.

    It might shows that your path to the jdk installation directory is hard coded in the PATH, rather then using %JAVA_HOME%.

    0 讨论(0)
提交回复
热议问题