user2775255
user2775255

Reputation: 19

Eclipse is not working properly

I clicked on eclipse and I got this error:

Failed to load JNI Library "C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll"

The java version is up to date and the path is correct. I'm not sure how to fix this. I'm using Eclipse IDE Java Developer

Upvotes: 1

Views: 2553

Answers (2)

misguided
misguided

Reputation: 3799

Check whether your eclipse and java are of the same version i.e both 32bit or both 64 bit.

You can try on the command line:

java -d64 -version

If it's not a 64-bit version, you'll get a message that looks like:

This Java instance does not support a 64-bit JVM. Please install the desired version.

To check eclipse :

Open eclipse.ini file and observe the following 4th line

plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519

This shows eclipse is 32 bit

Upvotes: 1

Infamouslyuseless
Infamouslyuseless

Reputation: 982

I think you may not have downloaded and installed JNI(Java Native Interface). by the looks of it you have the JRE(Java Runtime Environment) and that's where the path is set. Try downloading Java Native Interface and set path to that. Just an idea

Upvotes: 1

Related Questions