Default Java library path?
java, java.library.path
Solution
Its default value depends on the operating system:
- On Windows, it maps to `PATH`
- On Linux, it maps to `LD_LIBRARY_PATH`
- On OS X, it maps to `DYLD_LIBRARY_PATH`
Problem
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?