public static String getenv(String name)
예) String sysPath = System.getenv("PATH");
참고: https://docs.oracle.com/javase/8/docs/api/java/lang/System.html#getenv-java.lang.String-
System (Java Platform SE 8 )
Sets the system property indicated by the specified key. First, if a security manager exists, its SecurityManager.checkPermission method is called with a PropertyPermission(key, "write") permission. This may result in a SecurityException being thrown. If n
docs.oracle.com
public static Properties getProperties()
: 시스템 특성 전반
참고: https://docs.oracle.com/javase/8/docs/api/java/lang/System.html#getProperties--
System (Java Platform SE 8 )
Sets the system property indicated by the specified key. First, if a security manager exists, its SecurityManager.checkPermission method is called with a PropertyPermission(key, "write") permission. This may result in a SecurityException being thrown. If n
docs.oracle.com
'Programming > Java' 카테고리의 다른 글
[Java] Oracle JDBC releases Vs JDK versions (0) | 2022.10.25 |
---|---|
[Java] 키 입력(Scanner) (0) | 2020.05.26 |
[Java] JDBC Test (ORACLE DB, tnsnames.ora) (0) | 2020.05.14 |
[Java] 환경변수 참고 (0) | 2020.03.09 |