I have a Java file which refers to a .dll to perform Windows authentication.
In my Java code, I used System.getProperty("java.library.path")
to get the PATH, and then I manually appended the PATH of the DLL. It works fine.
But I dont want the DLL to sit in some folder outside. So I moved the DLL file inside a Jar file which contains my Java-class file. I am not sure how to refer to the location of the folder inside my jar.
Any ideas?