2018년 10월 28일 일요일

[TroubleShooting] intellij Failed to load JVM DLL

If you see this error :
Error launching IDEA
Failed to load JVM DLL {Path}\server\jvm.dll
If you already have a 32-bit JDK installed, define a JAVA_HOME variable in Computer > System Properties > System Settings > environment Variables.

You might execute intelliJ 32bit not 64bit even though your machine is 64bit one. so executing intelliJ 64bit may be helpful. Go to IDEA_HOME(path which your intelliJ is installed) and go to bin directory, and execute idea64.exe

but if it still does not work check below. There are 3way which you can

1. You must set JAVA_HOME in system environment properties like below. and execute your intelliJ again.
System variable value

Path variable value
2. If it still does not work, set IDEA_JDK to JAVA_HOME and execute your intelliJ again.



3. if it still does not work(damn...), delete jre64 directory in your intelliJ home. In my case, my intelliJ home is C:\Program Files\JetBrains\IntelliJ IDEA {yyyy.m.d}
Remove jre64
Then you can see that your intelliJ work properly
Done!
If you still does not work, then give up, and throw your machine


댓글 없음:

댓글 쓰기

[TroubleShooting] sbt could not find or load main class file

Have you gotten this error message, when you execute sbt in git bash? Error: Could not find or load main class file Caused by: java.lang....