How to set the java.library.path from Eclipse

后端 未结 16 2416
陌清茗
陌清茗 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

    Another solution would be to open the 'run configuration' and then in the 'Environment' tab, set the couple {Path,Value}.

    For instance to add a 'lib' directory located at the root of the project,

        Path  <-  ${workspace_loc:name_of_the_project}\lib
    

提交回复
热议问题