title: Method to dump classes on the classpath from inside JVM?
body: <p>My code is failing with a <code>ClassNotFoundException</code>. </p>
  
  <p>I can see that the jar file containing the class is definitely on the classpath from the command prompt execution. </p>
  
  <p>Is there a way to dump the list of classes on the classpath from the JVM? (Ideally some Java code). </p>
  
  <p>(I don't want to see the classes in a directory, I want to see a list of what is loaded into the JVM). </p>