devshift / jnativehook

Automatically exported from code.google.com/p/jnativehook
0 stars 0 forks source link

Unable to locate the native library. #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
By executing the latest JNativeHook.jar, I can view the program successfully. 
However, when I use the source code in Eclipse, it will generate errors and it 
says "Caused by: java.lang.RuntimeException: Unable to locate the native 
library."

I am using the jar and source code version 1.1.2. I am on window 8 professional.

Thank you

Original issue reported on code.google.com by dennista...@gmail.com on 31 Dec 2012 at 10:52

GoogleCodeExporter commented 9 years ago
You need to unpack the appropriate Windows DLL from the Jar and put that in 
your eclipse project.  You then need to adjust the projects java.library.path 
property to the location where you put the binary.

Original comment by a...@1stleg.com on 31 Dec 2012 at 5:41

GoogleCodeExporter commented 9 years ago
I see, now it works. Thank you very much. 

Original comment by dennista...@gmail.com on 31 Dec 2012 at 7:32