I understand that you can set the Java library path with an option (-Djava.library.path=/path/to/libs) before executing the program, but is there a place on the
-Djava.library.path=/path/to/libs
Its default value depends on the operating system:
PATH
LD_LIBRARY_PATH
DYLD_LIBRARY_PATH