Re: Java project LD_LIBRARY_PATH

2020-03-27 Thread Vladimir Kokovic
After many unsuccessful attempts, I finally managed to create a model NetBeans project that can handle environment variables, for run and debug targets, per java project. To be unusual, a total of 3 lines should be added to the existing build-impl.xml. I needed control of the variable LD_LIBRA

Re: Java project LD_LIBRARY_PATH

2020-03-23 Thread Vladimir Kokovic
Hi, I ask how to do it (LD_LIBRARY_PATH) according to java project? - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about th

Re: Java project LD_LIBRARY_PATH

2020-03-23 Thread Scott Palmer
You should set both. The LD_LIBRARY_PATH environment variable for the operating system, and the java.library.path system property for the JVM. Scott > On Mar 23, 2020, at 8:30 AM, Vladimir Kokovic > wrote: > > Hi, > Does this mean that the only solution is java.library.path system property, >

Re: Java project LD_LIBRARY_PATH

2020-03-23 Thread Vladimir Kokovic
Hi, Does this mean that the only solution is java.library.path system property, ie. that there is no LD_LIBRARY_PATH option? - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h.

Re: Java project LD_LIBRARY_PATH

2020-03-23 Thread Scott Palmer
It works for me. If you are loading the native library directly for JNI you must also set the java.library.path system property. Scott > On Mar 23, 2020, at 8:12 AM, gmail Vladimir Koković > wrote: > - To unsubscribe, e-mai

Java project LD_LIBRARY_PATH

2020-03-23 Thread gmail Vladimir Koković
Hi, I tried various ways to set LD_LIBRARY_PATH for some java project but none of the variants work! Is there anyone who has managed to do this and in what way? Thankful in advance. Vladimir Kokovic, DP senior (69) Serbia, Belgrade, March 23, 2020 -