pkrall520 / jnativehook

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

Src zip - no lib in folder found #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.included src in my project
2.run

Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
    at gdevmate.gobot.GobotPanel.<init>(GobotPanel.java:60)
    at gdevmate.GDevMate.<init>(GDevMate.java:18)
    at gdevmate.GDevMate$1.run(GDevMate.java:107)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
    at java.awt.EventQueue.access$400(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:697)
    at java.awt.EventQueue$3.run(EventQueue.java:691)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Unable to locate the native library.
    at org.jnativehook.GlobalScreen.loadNativeLibrary(GlobalScreen.java:462)
    at org.jnativehook.GlobalScreen.<init>(GlobalScreen.java:71)
    at org.jnativehook.GlobalScreen.<clinit>(GlobalScreen.java:53)
    ... 17 more

Original issue reported on code.google.com by 4bottig...@gmail.com on 30 Aug 2014 at 11:32

GoogleCodeExporter commented 9 years ago
You need to include the jar with the binary libraries in it.  If you you want 
to include the source, you need to provide your own native binaries and library 
loading.

Original comment by a...@1stleg.com on 31 Aug 2014 at 4:39