How to solve the error "Failed to load the JNI shared library jvm. dll" when you start Eclipse !, Jnijvm. dll
Cause 1: The jvm. dll does not exist in the specified directory.
Countermeasure: (1) reinstall jre or jdk and configure environment variables. (2) copy a jvm. dll file to this directory.
Cause 2: The version of eclipse is different from that of jre or jdk.
Countermeasure: either 64-bit or 32-bit, either 32-bit or 64-bit.
Cause 2 has a higher probability. Cause 1 is unlikely to happen.
Most people should be in the second case, and I am in the second case. When both jdk and tomcat are 32-bit, Eclipse also needs to select 32-bit. If you select a 64-bit Eclispe, the preceding error is reported. In a 64-bit windows system, a 32-bit jdk + tomcat + eclipse can also be used. Make sure thatJdk + tomcat + eclipse are both 32-bit and 64-bit.