After upgrade to Java 1.8.0.121(1.8.0.60 or higher),the System.getenv () doesn't return the variables that the application set at run time. Those environment variables are set through JNI interface (Java call C++ to set environment variables) at run time. This seems to be a regression since 8u60 as 8u51 works.
|