Native library - - constant no *library_name* in java.library.path. Follow Answered Bruce Markey Created July 29, 2016 17:20 I've read other posts so I know where my .so file is supposed to go but I'm either still doing something wrong or I'm missing something. Simply trying to figure out where I put my .so file so that it can be found. What I have tried: ( I am currently on a win machine, usually on a nix box. ) 1. Set PATH variable to include my directory with my module. = Exception in thread "main" java.lang.UnsatisfiedLinkError: no pocketsphinx_jni in java.library.path 2. Tried adding it via File->Project Structure -> LIbraries -> add -> java -> selected directory that holds my .so file. = Same error 3. Added the .so to my working directory = Same error 4. -Djava.library.path=D:\IdeaProjects\Pennyworth\Modules - Same error. I have no idea what to try next.