I was facing this error for my karate automation scripts and I couldn't copy paste any files to my :C/programFiles path. What I did is I downloaded and extracted the jdbc auth file to a folder I could paste to eg: :C/user/username/jdbcauth.dll
Since I was using InteiJ I went to run->build config -> in VM option I added this line Djava.library.path=C/user/username (path of the folder containing the jdbcauth.dll)
And now it's not throwing this error