Skip to main content

classpath

function

clojure.java.classpath/classpath

(classpath [classloader] [])
Returns a sequence of File objects of the elements on the classpath. Defaults to searching for instances of java.net.URLClassLoader in the classloader hierarchy above clojure.lang.RT/baseLoader or the given classloader. If no URLClassloader can be found, as on Java 9, falls back to the 'java.class'path' system property.

No examples yet. Be the first to add one!