سؤال

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

هل كانت مفيدة؟

المحلول

As far as I can tell from everything I've read and tried, you must use -Djava.library.path in netbeans.

نصائح أخرى

[project] - right click - Properties - Libraries - Compile - Add JAR/Folder - [yourjar.jar] (+ "Absolute Path" on the right side of the dialog)

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top