How to fix an UnsatisfiedLinkError (Can’t find dependent libraries) in a JNI project

I’m pretty sure the classpath and the shared library search path have little to do with each other. According to The JNI Book (which admittedly is old), on Windows if you do not use the java.library.path system property, the DLL needs to be in the current working directory or in a directory listed in the Windows PATH environment variable. Update: Looks … Read more

How do you copy and paste into Git Bash

Press Insert. Also, to copy from the window, try clicking the console’s window icon (topleft) and choosing Edit -> Mark, then drag a box on the text, then press Enter. (You can also paste via the window icon menu, but the key is faster.) UPDATE Starting from Windows 10 the CTRL + C, CTRL + V and a lot of other feature are implemented in … Read more