Le jeu. 30 juin 2022 à 23:35, sebb <seb...@gmail.com> a écrit : > > On Thu, 30 Jun 2022 at 16:21, Alex Remily <alex.rem...@gmail.com> wrote: > > > > <For example, the standalone code takes note of LD_LIBRARY_PATH when > > loading the dll, whereas Java apparently does not.> > > > > I experience the same behavior. What's more interesting is that when I run > > the main function from Eclipse as a Run Configuration with the > > LD_LIBRARY_PATH set as an Environment variable appended to the native > > environment, it runs as expected. As of yet I haven't found a way to get > > the java CLI to recognize the LD_LIBRARY_PATH environment variable, even > > though it echos out correctly when queried. Strange.
Did you try with "java.library.path" (cf. [1])? Gilles [1] https://stackoverflow.com/questions/27945268/difference-between-using-java-library-path-and-ld-library-path > [...] --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org