Java error - cannot find library in java.library.path?

前端 未结 2 1630
[愿得一人]
[愿得一人] 2020-12-21 08:51

I am getting a error message like this:

The library libraryname.dll could not be loaded by Windows. Make sure that the library is in you Pa

2条回答
  •  伪装坚强ぢ
    2020-12-21 09:42

    You can simply pass java.library.path as a system property as shown below:

    java -Djava.library.path= 
    

    First you need to find out where the libraryname.dll is and add it above in "path_to_dll".

提交回复
热议问题