java.lang.UnsatisfiedLinkError even on setting -Djava.library.path
问题 I am loading a library into my java code. I have put the library in the sytem 32 folder and I have also set the -Djava.library.path. Earlier this code was running try{ System.loadLibrary("resources/TecJNI"); System.out.println("JNI library loaded \n"); } catch(UnsatisfiedLinkError e){ System.out.println("Did not load library"); e.printStackTrace(); } but since last week it is showing java.lang.UnsatisfiedLinkError: no resources/TecJNI in java.library.path. Is this some file permission issue