webstorm (web storm) startup error: Failed to load JVM C:\Program Files\JetBraints\WebStorm ....\ jvm.dll

background

After installing webstorm, open webstorm in the desktop icon or start menu, and Failed to load JVM C:\Program Files\JetBraints\WebStorm ....\ jvm.dllan error message will appear, as shown below:
Insert image description here

I was wondering, after checking JDK and JAVA_HOME, everything was normal . I checked the following facts:

  • Both the system and jdk are 64-bit

    Who has a 32-bit system in this day and age? Who would choose 32-bit jdk?

  • The installed JDK is 1.8

    webstorm is indeed written in java and requires jre to run itself

    But I think webstorm won't depend on the version of jre in the jdk I installed when it starts, right?

    Shouldn't I use the jre in the jdk I installed to start and run webstorm?

  • The JAVA_HOME environment variable is correct and echo %JAVA_HOME%can output results.

  • where java, there is nothing suspicious java --versioneven javac --versiondisplayed

Solution

Use "Run as administrator" to open, this is how I solved it.

I really don't know why it needs to be run as an administrator. Moreover, the error message prompted was also confusing to Monk Zhanger.

Some people on the Internet will say that you are running a 32-bit version and you need to run a 64-bit version. Here is his screenshot:
Insert image description here
But the version I installed is no older than his version. There is no 32-bit version for a long time, and there is only a 64-bit version. Therefore, there is no problem that the number of digits of the running webstorm is incorrect.

Insert image description here

How to double-click to open as administrator by default?

Find the program itself, i.e. webstorm64.exe, right-click, select "Properties", select "Compatibility", check "Run this program as an administrator" and click "OK"

Insert image description here

Guess you like

Origin blog.csdn.net/w8y56f/article/details/134099218