Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to call sqljdbc_auth.dll from different location other than library in java program, i have used system.load and system.loadlibrary both are not working getting the same issue could not find .dll, i cant place the .dll file in c: in any of the systems where i execute, i need to call it from a different location, i did the same in my local system it is working fine, but when i execute in Jenkins it is failing coz it executes them from VM and it is not getting the sqljdbc_auth.dll, so thought of calling call/invoke in my code it self so that i can place it in the git and specify the location..

What I have tried:

i have used system.load and system.loadlibrary both are not working getting the same issue could not find .dll,
Posted
Comments
Mohibur Rashid 7-Nov-18 22:27pm    
Use -Djava.library.path parameter to show dll path

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900