If you run your program from IntelliJ then you can set the java.library.path
in the VM options
input field in the Run/Debug Configurations
dialog.
Example:
-Djava.library.path="C:\path\to\where\the\jni\lib\is"
If you run your program from IntelliJ then you can set the java.library.path
in the VM options
input field in the Run/Debug Configurations
dialog.
Example:
-Djava.library.path="C:\path\to\where\the\jni\lib\is"