Error Launching Idea. Failed to load JVM DLL C:\Program Files\Java\jdk1.8.0_112

前端 未结 14 1337
野趣味
野趣味 2020-12-11 14:15

Whenever I open IntelliJ IDEA i get this error:

but I have that defined and I don\'t know why it wont work:

Any help accepted.

14条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-11 15:01

    I had this issue when trying to start PHPStorm via the command line (add the phpstorm bin folder to your path, and you should be able to do eg phpstorm.exe .) - my local installed worked fine.

    see also https://www.jetbrains.com/help/phpstorm/working-with-the-ide-features-from-command-line.html:

    Add the path to the PhpStorm bin folder to the Path environment variable (for example, C:\Program Files\JetBrains\PhpStorm\bin). After you configured the Path environment variable, you can run the PhpStorm commands.

    adding the path to the jdk PHPStorm comes bundled with as JAVA_HOME (setx JAVA_HOME "C:\Program Files (x86)\JetBrains\PhpStorm 2019.1\jre64") doesn't solve the issue as the default phpstorm.exe tries to find a 32-bit jdk

    I needed to specifically use the 64-bit phpstorm application
    phpstorm64.exe .

提交回复
热议问题