'Failed to load the JNI shared library "C:\Program Files\Java\jre7\bin\client\jvm.dll" '

Viewed 40056

I have looked for a solution, but all the ones I found didn't work.

  • I have triple checked that I have both 64 bit JRE/JDK and Eclipse
  • I have added the '-vm' argument to the eclipse.ini file.

Here's the file content:

 -startup plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
 --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130807-1835
 -product org.eclipse.epp.package.standard.product
 --launcher.defaultAction openFile
 --launcher.XXMaxPermSize 256M
 -showsplash org.eclipse.platform
 --launcher.XXMaxPermSize 256m
 --launcher.defaultAction openFile
 --launcher.appendVmargs
 -vm C:\Program Files\Java\jdk1.7.0_45\bin\javaw.exe
 -vmargs
 -Dosgi.requiredJavaVersion=1.6
 -Xms40m
 -Xmx512m

EDIT: It works now, the vm argument was pointed to the wrong file!

3 Answers
Related