获取Scala中所有环境和系统属性,(System.getProperties System.getenv
importscala.collection.JavaConverters._//propertiesprintln("****System.getProperties():")println(System.getProperties.asScala.mkString(System.lineSeparator()))//.getenv()println("****System.getenv():"