Is there a netbeans equivalent to “Native library location” in eclipse for jar files?
-
24-03-2021 - |
Domanda
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
Soluzione
As far as I can tell from everything I've read and tried, you must use -Djava.library.path
in netbeans.
Altri suggerimenti
[project] - right click - Properties - Libraries - Compile - Add JAR/Folder - [yourjar.jar] (+ "Absolute Path" on the right side of the dialog)
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow