Is there a netbeans equivalent to “Native library location” in eclipse for jar files?
-
24-03-2021 - |
Question
In eclipse you can add a native library location for each jar file in your project. I prefer this method to adding a -Djava.library.path
to the VM arguments. Is there an equivalent in netbeans or am I stuck with the -D
?
This is related to this question: How to set the java.library.path from Eclipse
Solution
As far as I can tell from everything I've read and tried, you must use -Djava.library.path
in netbeans.
OTHER TIPS
[project] - right click - Properties - Libraries - Compile - Add JAR/Folder - [yourjar.jar] (+ "Absolute Path" on the right side of the dialog)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow