Native library - - constant no *library_name* in java.library.path.


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.

1 comment
Comment actions Permalink

Apparently you cannot add an .so file while on windows. So solved.



Please sign in to leave a comment.