You should run the project defining the dll path explicitly. It might be troublesome to get the dll out of the jar, anyhow it doesn't seem to be working for you. Try defining -Djava.library.path = "%~dp0natives", and place the dll in "rundir/natives/jni/win/x86_64/jd2xx.dll"