Reputation: 83
I have some native files. I need to load those into my project. How can I do so in Netbeans?
I'm loading them with:
System.loadLibrary("SBXPCJavaProxy");
Upvotes: 1
Views: 2371
Reputation: 17839
This is pretty forward in Netbeans:
-Djava.library.path="[dir]"
.Basically you give directions to the compiler in which folders to search for available packages.
Note that [dir] should be an absolute path to the folder containing your natives. For example, if your natives are in C:\Natives
then [dir] should be C:\Natives
.
Upvotes: 2