giving 'java.library.path' in netbeans for .dll/.so files -



giving 'java.library.path' in netbeans for .dll/.so files -

how give path .dll or .so file in netbeans load library using

system.loadlibrary("foo")

i read this on netbeans page couldn't help me. gives unsatisfied link error.

these 2 things tried :

in next snapshot created lib folder within netbeans project , placed dll files within it.

in sec snapshot created lib folder within modules folder , placed dll files within lib folder stated in link.

but both of them give me unsatisfied link error exception. how set java.library.path in netbeans can straight test application netbeans, without having go , write on terminal ?

its working now. little bit setting have netbean ide.only of netbean ide.

follow steps :-

==>right click on project ==>properties ==>click on run ==>vm options : -djava.library.path="c:\your directory dll present" ==>ok

its working 100%. have done in own project.

java netbeans library-path

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -