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

È stato utile?

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
scroll top