how to make sure Native lib is in a directory listed in java.library.path?
843829Mar 3 2009 — edited Mar 3 2009Hi,
we i run my application I'll get the following error:
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:\Program Files\Java\jdk1.6.0\bin\jri.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at org.rosuda.JRI.Rengine.<clinit>(Rengine.java:9)
at javaapplication1.rtest.main(rtest.java:69)
I would appreciate it if anyone tell me how to make it solved. However, i am using NetBeans IDE for running the application.
Thank you,
RMP