티스토리 뷰
- 클래스파일을 찾는 기준 경로이다.
- JRE는 application을 실행할때 classpath에 지정된 경로를 참조하여 compile된 class를 찾는다.
- classpath는 directory와 file을 ","으로 구분한 목록이다. JRE는 classpath에 지정된 경로를 모두 검색해서 특정 클래스 코드가 포함된 class 파일을 찾는다.
public static void main(String[] args) {
String classpath = System.getProperty("java.class.path");
System.out.print(classpath);
}
* classpath print
'Programming > Java' 카테고리의 다른 글
상속과 this (0) | 2020.01.12 |
---|---|
Reflection (0) | 2019.06.18 |
LocalDateTime (0) | 2019.03.11 |
JMX - mBean (2) | 2018.11.15 |
StringBuffer, StringBuilder (0) | 2016.08.23 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- spring spel
- Spring JDBC Template
- Spring
- Spring Registrar
- Sprint RetryTemplate
- Typesafe Config
- Criteria
- Mapping
- scikit-learn
- SmartLifecycle
- Join Table
- java EqualsAndHashCode
- Akka
- Query DSL
- DI
- Registrar
- JPA Criteria
- 복합키 Mapping
- Property
- RetryTemplate
- java Equals
- Embedded Mapping
- java generic
- docker
- @Primary
- guava
- Discriminate Mapping
- Embeddable Mapping
- JPA
- Charles proxy
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함