[R] SJava.dll, UnsatisfiedLinkError

Pauline Gu gu4 at llnl.gov
Wed Aug 14 22:52:36 CEST 2002


Dear R experts and Omega experts,

I am trying to run the R from Java.  Now, I am facing the problem: 
UnsatisfiedLinkError: SJava.dll, please see the detail Error message below:

Path is 
/cygdrive/c/Tcl/bin:.:/cygdrive/c/ora9iclient/jdk/jre/bin/classic:/cygdr
ive/c/Documents and 
Settings/pgu/Desktop/oldmachine/rtools:/cygdrive/e/R/gcc/bin
:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/system32/WBEM:/c
ygdrive/c/ora9iclient/bin:/cygdrive/c/ora9iclient/jdk/bin:/cygdrive/c/Perl/bin:/
cygdrive/f/Mingw/bin:/cygdrive/c/Program Files/HTML Help 
Workshop:/cygdrive/e/r-
1.5.1/library/SJava/libs:/cygdrive/e/r-1.5.1/src/gnuwin32
Hello...
Exception in thread "main" java.lang.UnsatisfiedLinkError: 
E:\R-1.5.1\library\SJ
ava\libs\SJava.dll: Can't find dependent libraries
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary0(Unknown Source)
         at java.lang.ClassLoader.loadLibrary(Unknown Source)
         at java.lang.Runtime.loadLibrary0(Unknown Source)
         at java.lang.System.loadLibrary(Unknown Source)
         at 
org.omegahat.R.Java.RForeignReference.<clinit>(RForeignReference.java
:25)

As one can see, that I do have the SJava.dll directory 
(e/r-1.5.1/library/SJava/libs) in the path.  Please help.  Thanks.

OS: Window 2000
R version: R1.5.1 (compiled from Source code)
RSJava version: 0.65

Thanks in advance for your help.

Pauline

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list