Default Java library path?

前端 未结 3 536
不知归路
不知归路 2020-12-08 19:22

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

3条回答
  •  遥遥无期
    2020-12-08 19:53

    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

提交回复
热议问题