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:
- The Java command could not find or load the main class
- Android 8.1 compilation error Jack server problem
- Analysis and solution of RSA premaster secret error
- Perfect solution for IntelliJ idea error “CreateProcess error = 2, system cannot find the specified file”
- Install Java runtime JRE in Ubuntu 16.04
- Fatal error matching: invalid target distribution: 11
- Error: could not find java.dll Error: could not find Java se runtime environment solution
- Eclipse report error Error:opening registry key ‘Software/JavaSoft/JRE’
- Error running Eclipse: failed to load the JNI shared library
- Idea stuck and error reported: UI was frozen for xxxxx MS problem solving
- R:Error : .onLoad failed in loadNamespace() for ‘rJava’, details: call: dyn.load(file, DLLpa
- AES CBC PKCs × 7 encryption
- Ubutnu’s idea input method candidate box can’t follow the cursor
- Solve the problem of jdk8 after win7 is installed. Has value ‘1.8’, but ‘1.7’ is required
- Ubuntu 20.04: How to create shortcut startup mode in IntelliJ idea
- Solving failure executing javac, but could not parse the error
- python: This application failed to stat could not find or load the Qt platform plugin “windows”
- could not open `C:\Program Files\Java\jre1.8.0_191\lib\amd64\jvm.cfg’
- R: error: package or namespace load failed for ‘rjava’:
- Mobile app development: installation and configuration of react native