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

Vladmir Makarov vmakarov at pace.edu
Thu Aug 21 05:29:24 CEST 2008


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


-- 
***********************************
 Dr. Vladimir Makarov
 Instructor, Computer Science Department
 School of Computer Science and Information Systems
 Pace University
 163 Williams Street
 New York, NY 10038
 Phone: (516) 422-4133
 eMail: vmakarov at pace.edu
 http://matrix.csis.pace.edu/~vmakarov/

***********************************

####################################################################
The information contained in this email message and any files
transmitted with it are confidential and intended solely for the use
by the individual(s) originally addressed. Please disregard and delete
this email if you are not the intended recipient.
####################################################################



More information about the R-devel mailing list