java 获取环境变量

String custVar = System.getenv("xx");

原文地址:https://www.cnblogs.com/kakaisgood/p/7026056.html