I have a .dll for example “example.dll” and I know that this dll is in one of the paths specified in java.library.path, there is a simple way to get the dll’s path without executing a cicle on this list of paths?
Share
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.
No. You can’t. The DLL’s are not a Java’s fully supported “type” so I am not sure even about the GAC approach. You have to iterate and find.