This question doesn\'t refer to distributing jars in the whole cluster for the workers to use them.
It refers to specifying a number of additional libraries on the
If someone wants to check hadoop classpath, enter hadoop classpath in terminal. To compile it, use this: javac -cp $(hadoop classpath):path/to/jars/* java_file.java
hadoop classpath
javac -cp $(hadoop classpath):path/to/jars/* java_file.java