code: static void printClassPath() {
      URLClassLoader sysLoader = (URLClassLoader) ClassLoader.getSystemClassLoader();
      if (sysLoader == null) {
        System.out.println(
            "No system class loader. (Maybe means bootstrap class loader is being used?)");
      } else {
        System.out.println("Classpath:");
        for (URL url : sysLoader.getURLs()) {
          System.out.println(url.getFile());
        }
      }
    }
docs: Print the classpath.