Find the JAR from which a given class was loaded, to make it easy for users to pass their JARs to SparkContext.
Find the JAR that contains the class of a particular object, to make it easy for users to pass their JARs to SparkContext.
Find the JAR that contains the class of a particular object, to make it easy for users to pass their JARs to SparkContext. In most cases you can call jarOfObject(this) in your driver program.