Hi All,
I'm trying to call...
static{
System.loadLibrary("my-code-3");
}
//see
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/System.html#loadLibrary(java.lang.String)
That *should* load the my-code-3.dll for jni to work with the code inside
that dll. However, when I try and run my class inside Eclipse it never finds
the dll. I also tried echo'ing the java.library.path and there
isn't anything that looks like my maven project on the path. I've tried this
as a dll under ./src/main/resources and as a dll dependency... neither work.
Do I need to tweak the java.library.path at all????