code: public static void addArchiveToClassPath(Path archive, Configuration conf)
      throws IOException {
      URI uri = addArchiveToClassPathHelper(archive, conf);
      addCacheArchive(uri, conf);
    }
docs: Add an archive path to the current set of classpath entries. It adds the
  archive to cache as well.
  
  @param archive Path of the archive to be added
  @param conf Configuration that contains the classpath setting