(→참고 자료) |
(→개요) |
||
5번째 줄: | 5번째 줄: | ||
! 키 !! 설명 | ! 키 !! 설명 | ||
|- | |- | ||
| "file.separator" || 파일경로 구분문자 ( 리눅스는 "/", 윈도우는 "\" ) | | [[System.getProperty("file.separator")]] || 파일경로 구분문자 ( 리눅스는 "/", 윈도우는 "\" ) | ||
|- | |- | ||
| "java.class.path" || 클래스 디렉토리나 JAR 아카이브를 찾을 때 사용하는 경로 | | [[System.getProperty("java.class.path")]] || 클래스 디렉토리나 JAR 아카이브를 찾을 때 사용하는 경로 | ||
|- | |- | ||
| "java.home" || JRE 설치 디렉토리 | | [[System.getProperty("java.home")]] || JRE 설치 디렉토리 | ||
|- | |- | ||
| "java.vendor" || JRE 벤더명 | | [[System.getProperty("java.vendor")]] || JRE 벤더명 | ||
|- | |- | ||
| "java.vendor.url" || JRE 벤더 URL | | [[System.getProperty("java.vendor.url")]] || JRE 벤더 URL | ||
|- | |- | ||
| "java.version" || JRE 버전 번호 | | [[System.getProperty("java.version")]] || JRE 버전 번호 | ||
|- | |- | ||
| "line.separator" || 운영체제가 사용하는 행 구분문자 | | [[System.getProperty("line.separator")]] || 운영체제가 사용하는 행 구분문자 | ||
|- | |- | ||
| "os.arch" || 운영체제 아키텍처 | | [[System.getProperty("os.arch")]] || 운영체제 아키텍처 | ||
|- | |- | ||
| "os.name" || 운영체제 이름 | | [[System.getProperty("os.name")]] || 운영체제 이름 | ||
|- | |- | ||
| "os.version" || 운영체제 버전 | | [[System.getProperty("os.version")]] || 운영체제 버전 | ||
|- | |- | ||
| "path.separator" || java.class.path에서 사용하는 경로 구분문자 | | [[System.getProperty("path.separator")]] || java.class.path에서 사용하는 경로 구분문자 | ||
|- | |- | ||
| "user.dir" || 사용자 작업 디렉토리 | | [[System.getProperty("user.dir")]] || 사용자 작업 디렉토리 | ||
|- | |- | ||
| "user.home" || 사용자 홈 디렉토리 | | [[System.getProperty("user.home")]] || 사용자 홈 디렉토리 | ||
|} | |} | ||
2017년 4월 18일 (화) 10:42 판
1 개요
- 자바 System.getProperty()
키 | 설명 |
---|---|
System.getProperty("file.separator") | 파일경로 구분문자 ( 리눅스는 "/", 윈도우는 "\" ) |
System.getProperty("java.class.path") | 클래스 디렉토리나 JAR 아카이브를 찾을 때 사용하는 경로 |
System.getProperty("java.home") | JRE 설치 디렉토리 |
System.getProperty("java.vendor") | JRE 벤더명 |
System.getProperty("java.vendor.url") | JRE 벤더 URL |
System.getProperty("java.version") | JRE 버전 번호 |
System.getProperty("line.separator") | 운영체제가 사용하는 행 구분문자 |
System.getProperty("os.arch") | 운영체제 아키텍처 |
System.getProperty("os.name") | 운영체제 이름 |
System.getProperty("os.version") | 운영체제 버전 |
System.getProperty("path.separator") | java.class.path에서 사용하는 경로 구분문자 |
System.getProperty("user.dir") | 사용자 작업 디렉토리 |
System.getProperty("user.home") | 사용자 홈 디렉토리 |
2 같이 보기
3 참고 자료
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.
- 분류 댓글:
- Java (3)
Java 튜토리얼 웹사이트 ― Thesmolt젠킨스 ― John Jeong젠킨스 ― Icesky