Archived Forum Post

Index of archived forum posts

Question:

NetBeans LoadLibrary Failure

Apr 15 '16 at 11:44

I am using Netbeans on El Capitan and cannot get they Crypt2 to run.
java.lang.UnsatisfiedLinkError: no chilkat in java.library.path

I tried everything in http://www.chilkatsoft.com/java-loadLibrary-MacOSX.asp – the only thing that works is option #1


Answer

In a standalone Java program, without any other infrastructure getting in the way, then everything in described in http://www.chilkatsoft.com/java-loadLibrary-MacOSX.asp should work -- because these are the standard ways the Java runtime locates and loads libraries.

When other things such as Tomcat, NetBeans, etc, get in the way, the best thing to do is to search the web to see if other developers encountered the same problems. My quick search turned up the following:

http://stackoverflow.com/questions/12798530/including-native-library-in-netbeans