Is there a way to set an environment variable or some kind of global variable in java so it can be visible from within the c++ code that I call from java (using swig). Off course as a workaround I can expose another function which will track the value of env var in some static variable in c++, so I can use it when it is needed. However it is interesting if there is a way to set env or global variable in java and make it visible in c++ code called from java.
Best regards -Grigor