Java代码中查看JDK的环境变量

@Test
public void testEnvironmentVariable() {
    //查看JDK的环境变量
    System.getProperties().list(System.out);
}

 

posted on 2018-03-15 17:06  温馨世界  阅读(302)  评论(0)    收藏  举报