Can't find dependent libraries when trying to load JRI
问题 I have this simple piece of code that tries to load the JRI module. public static void main(String... args) { System.out.println(System.getProperty("java.library.path").toString()); System.setProperty("jri.ignore.ule", "yes"); System.loadLibrary("jri"); } I am passing the java.library.path as VM arguments but JRI fails to load with the following error: C:\Users\Abhishek\Documents\R\win-library\3.1\rJava\jri;C:\Users\Abhishek\Documents\R\win-library\3.1\rJava Exception in thread "main" java