How to set the java.library.path from Eclipse

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

    Click Run
    Click Debug ...
    New Java Application
    Click Arguments tab
    in the 2nd box (VM Arguments) add the -D entry

    -Xdebug -verbose:gc -Xbootclasspath/p:jar/vbjorb.jar;jar/oracle9.jar;classes;jar/mq.jar;jar/xml4j.jar -classpath -DORBInitRef=NameService=iioploc://10.101.2.94:8092/NameService  
    

    etc...

提交回复
热议问题