Skip to content
Prev 29786 / 63424 Next

java.lang.UnsatisfiedLinkError: The specified procedure could not be found error message

Dear Members,
I have developed a program which calls clustering libraries from R.
Everything works fine on my laptop. But when I installed the program
on another computer, the program gives me the error message:

Cannot find JRI native library!
Please make sure that the JRI native library is in a directory listed
in java.library.path.
java.lang.UnsatisfiedLinkError: C:\eclipse\lib\rJava\jri.dll: The
specified procedure could not be found

I don't understand what it does not like and what procedure it is looking for.

1. PATH is set correctly to the R.dll directory in Program files:
C:\Program Files\R\R-2.6.2\bin
2. R_HOME is set to C:\Program Files\R\R-2.6.2\bin
3. java.library.path is set to C:\eclipse\lib\rJava and JRI.jar and
JRI.dll are both there, so the messge is incorrect - native library IS
in directory listed in java.library.path.
4. Finally, there is only one installation of R on that computer, same
version as on my laptop, which excludes version conflict

Any hint will be highly appreciated,
Thank you in advance,
Vlad