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 system where Java looks if you don't set it manually?
-Djava.library.path=/path/to/libs
Its default value depends on the operating system:
PATH
LD_LIBRARY_PATH
DYLD_LIBRARY_PATH
1.4m articles
1.4m replys
5 comments
56.9k users