The article directories
Resolution of a Intellij IDEA can’t load JVM DLL error procedure
Resolution of a Intellij IDEA can’t load JVM DLL error procedure
After installing Intellij IDEA 2019.2 Community on a new Windows 10 computer today, an error occurred during Intellij startup: “Failedo to Load JVM DLL.”
The detailed error information is as follows:
Failed to load JVM DLL
… \ JBR \bin\server\jvm.dll
If you already have a 64-bit JDK installed, define a JAVA_HOME variable…
At first, I thought there was no JDK installed, so I downloaded the zip package of Redhat OpenJDK8, unzipped it, set the JAVA_HOME
environment variable, and added the %JAVA_HOME%\bin
to the PATH
environment variable. Environment variables were checked to be set correctly in CMD
and Git Bash
, but once Intellij was started, the same error remained.
Then install the ExE package for Redhat OpenJDK8 and repeat the above steps with the same error.
Then install the EXE package of Oracle JDK8 and repeat the above steps with the same error.
Then it occurred to me that Intellij should have come with a JVM to start Intellij itself, and that a DLL file \ JBR \bin\server\jvm.dll
would also exist to check the error messages.
Then try to download and install Microsoft Visual C++ 2010 Redistributable Package (x64) following one of the answers on Stackoverflow with the same error.
Intellij shortcuts were suspected to be pointing incorrectly, but were checked, and the same error occurred when running idea64.exe manually.
Then I saw another response on Stackoverflow that said Run as AdminStrator on Windows 10 would fix the problem, tried it and it worked. Then check the shortcut property to Run as AdminStrator so that you don’t have to right-click Run as AdminStrator every time.
Then it occurred to me that My computer account was supposed to have Administrator rights, but the configuration was wrong, so I logged in to a different one, installed and turned on Intellij, and everything went well.
Reference document:
https://stackoverflow.com/questions/40204189/error-launching-idea-failed-to-load-jvm-dll-c-program-files-java-jdk1-8-0-112https://stackoverflow.com/questions/48666118/error-launching-pycharm-failed-to -load-jvm-dll
Read More:
- Error: missing `server’ JVM at `C:\Program Files (x86)\Java\jre1.8.0_231\bin\server\jvm.dll’.
- Start Eclipse and pop up the “Failed to load the JNI shared library jvm.dll” dialog box
- Eclipse reports Failed to load the JNI shared library jvm.dll error solution
- After Android studio is installed, open a pop-up window to prompt failed to load JVM DLL XXX
- Idea startup prompt failed to create jvm: error code -1 jvm path solution
- Error loading in flex integration: Java / jdk1.6.0_ 35\jre\bin\server\ jvm.dll
- Windows10解决ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed
- Perfect solution for IntelliJ idea error “CreateProcess error = 2, system cannot find the specified file”
- [error] error handling of IntelliJ idea
- Start Tomcat and report an error: tcnative-1.dll: can’t load ia 32-bit. DLL on a amd 64 bit platform
- Ubuntu 20.04: How to create shortcut startup mode in IntelliJ idea
- IntelliJ idea debugging Java 8 stream
- How can IntelliJ idea completely delete a project
- Idea stuck and error reported: UI was frozen for xxxxx MS problem solving
- Solution to the error “tcnative-1.dll: can’t load amd 64 bit. DLL on IA 32 bit platform”
- IntelliJ idea error: error: Java does not support release 5
- Upgrade to IntelliJ idea 2021.2 and start the project with an error
- tensorflow import error: DLL load failed: The specified module could not be found (DLL load failed: The specified module could not be found)
- IDEA报Unable to save settings: Failed to save settings. Please restart IntelliJ IDEA