1

How to set a Native Library (*.dll) location of a jar file in JMonkey IDE?

I'm trying to connect Leap Motion with JMonkey engine. Therefore I need to put LeapJava.jar in build path. As the native library is not set,(coz I don't know how to) following error occurs when executing.

Native code library failed to load.
java.lang.UnsatisfiedLinkError: no LeapJava in java.library.path

  • 1
    If the JMonkey IDE is actually Eclipse, the instructions here should work: https://developer.leapmotion.com/documentation/java/devguide/Project_Setup.html#eclipse – Charles Ward Jul 31 '15 at 17:44
  • @CharlesWard your comment lead me to the correct way. JMonkey built in top of NetBeans. So I should google for NetBeans rather than saying exactly JMonkey. – Upekha Vandebona Aug 01 '15 at 05:11

1 Answers1

0

jMonkeyEngine SDK is built in top of the NetBeans Platform, and is identical to the NetBeans IDE for Java. So setting up the Native Library location of a jar file is same as the NetBeans.

Charles Ward comment lead me to the solution.