Created
February 24, 2019 02:21
-
-
Save kelapure/dc476ed3856a64891394fbebb3352357 to your computer and use it in GitHub Desktop.
classloaderdebug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ClassLoader cl = ClassLoader.getSystemClassLoader(); | |
URL[] urls = ((URLClassLoader)cl).getURLs(); | |
for(URL url: urls){ | |
System.out.println(url.getFile()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment