Failed to load JNI shared library jvm.dll

Asked By 0 points N/A Posted on -
qa-featured

When I tried to start JVM in Eclipse Juno, on my Windows 7 64-bit machine, I encountered an error message that flashed on my screen:

“ ERROR – Failed to load JNI shared library jvm.dll while starting Eclipse”.

What could be the cause and solution to this problem?

SHARE
Answered By 1065 points N/A #99222

Failed to load JNI shared library jvm.dll

qa-featured

This is a common error. It happens most of the time because you are trying to use an incompatible version of Java with Eclipse IDE. There is nothing to worry about.

Firstly, you should check if both JNI and Eclipse versions that you are using are of 64-bit. If the Eclipse IDE is 64-bit already then you have to update Java in Path to the path mentioned below:

C:Program FilesJavajre7

You can simply copy the contents of this file to the JRE location of eclipse. To check if your Java is already 64-bit, type "java-version" on cmd prompt. From the output, find out the bit size and download afresh in case match does not occur. This is an apt solution to your jvm.dll error.

Related Questions