I think I may have solved my own problem. In james 3.0-beta4 at the bottom of wrapper.conf is this line:
wrapper.java.library.path=../lib That seems to override the previous wrapper.java.library.path.1 and wrapper.java.library.path.2 properties. I commented out that line and now the jvm can indeed find the native libs. Thanks, Zach On Thu, Feb 21, 2013 at 4:43 PM, Zach Cox <zcox...@gmail.com> wrote: > Hi - our James app needs to use a native library through JNI (JMagick). > I'm having trouble setting java.library.path. It seems like I should just > set this in wrapper.conf: > > wrapper.java.library.path.2=/usr/lib > > However I still get this when trying to call the JNI methods: > > java.lang.UnsatisfiedLinkError: no JMagick in java.library.path > > I've also tried this, but get the same exception: > > wrapper.java.library.path.append_system_path=true > > Is there some other way to set java.library.path? > > Thanks, > Zach >