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

前端 未结 14 1306
野趣味
野趣味 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:10

    I had the same problem - My solution was slightly different.

    I needed to install Microsoft Visual C++ 2010 Redistributable Package (x64)

    Hope this helps someone else!

    0 讨论(0)
  • 2020-12-11 15:11

    Solved it by running Android studio as admin.

    Just Check on that path if the jvm.dll is present just run Android studio as administrator.

    0 讨论(0)
  • 2020-12-11 15:15

    Change the following value from your Path system variable:

    C:\Program Files (x86)\java\jdk1.8.0_112\jre\bin\server\jvm.dll
    

    to:

    %JAVA_HOME%\bin
    

    Also make sure there are no any other references to Java folders in the Path variable.

    0 讨论(0)
  • 2020-12-11 15:15

    Actually i had installed the Android Studio canary version, and created a short cut of 32-bit on 64-bit windows operating system,

    resolved by starting 64-bit version of Android Studio
    
    0 讨论(0)
  • 2020-12-11 15:15

    In my case, this error appeared after signing in to Microsoft account (I use Windows 10). When I logged out, the error dissapeared.

    0 讨论(0)
  • 2020-12-11 15:18

    Nothing of the other solutions work for me on IntelliJ 2019.2 which starts to use JDK 11 on boot, so I have to resolve it on my own.

    Open C:\Users\.IdeaIC2019.2\config\idea64.exe.jdk and edit it to be:

    C:\Program Files\Java\jdk1.8.0_131
    

    Restart IDE.

    As documented on https://www.jetbrains.com/help/idea/switching-boot-jdk.html

    Note: the path on your machine may be different.

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