Classloader getchas

try{
System.out.println(
ArrayUtils.class.getProtectionDomain().getCodeSource().getLocation().toURI()
);
for(URL url : ((URLClassLoader)ArrayUtils.class.getClassLoader()).getURLs()) {
System.out.println(url.getPath());
}
}
catch (URISyntaxException e) {

}

Leave a Reply

Your email address will not be published. Required fields are marked *


eight − 3 =