This is probably trivial – I almost feel embarrassed to ask, but I am new to this.
So I downloaded a library that uses JNI and I need to store the .dll library in my PATH. What is my PATH and where can I find it?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I assume you are talking about Windows. To set system wide PATH you should right click on “My computer” go to Advanced, click “Environment Variables” and there you should find the PATH variable, which you can modify (in System variables).
Edit: for Linux loading a .so (dynamic link library for linux) is done using LD_LIBRARY_PATH environment variable which has to contain the directory of the .so.
So you can have a script running your program that does (just an example):