728x90
1 2 3 | CodeSource codeSource = YourMainClass.class.getProtectionDomain().getCodeSource(); File jarFile = new File(codeSource.getLocation().toURI().getPath()); String jarDir = jarFile.getParentFile().getPath(); | cs |
1 2 3 | CodeSource codeSource = YourMainClass.class.getProtectionDomain().getCodeSource(); File jarFile = new File(codeSource.getLocation().toURI().getPath()); String jarDir = jarFile.getParentFile().getPath(); | cs |
Syncope.T-*
@Syncope
포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!
Loading...