Obtain classpath via depends.