Java

jar파일의 현재 path 얻어내기

튼튼한노예 2015. 4. 30. 15:01
ClassLoader.getSystemClassLoader().getResource(".").getPath();

현재 working path가 아닌 jar파일의 path가 리턴된다.