How to set the java.library.path from Eclipse

后端 未结 16 2452
陌清茗
陌清茗 2020-11-22 05:36

How can I set the java.library.path for a whole Eclipse Project? I\'m using a Java library that relies on OS specific files and need to find a .dll/

16条回答
  •  失恋的感觉
    2020-11-22 06:16

    You can add vm argument in your Eclipse.

    Example :

    -Djava.ext.dirs=cots_lib
    

    where cots_lib is your external folder library.

提交回复
热议问题