To compile and execute java file on Linux System with external jar files :
javac -cp jar_file1.jar:jar_file2:jar_file3.jar:. java_program_name.java
java -cp new_mail_api.jar:activation.jar:additional.jar:.java_program_name
To compile and execute java file on Windows System with external jar files :
javac -cp jar_file1.jar;jar_file2;jar_file3.jar;. java_program_name.java
java -cp new_mail_api.jar;activation.jar;additional.jar;.java_program_name
In Unix of Linux, Java Classpath contains names of the directory with colon “:” separated, On Windows Java Classpath will be semicolon “;” separated while if you defined java classpath in Manifest file those will be space separated.
For more knowledge about Classpath, visit https://javarevisited.blogspot.com/2011/01/how-classpath-work-in-java.html
java Generator
. Generator is a class that calls a method in AvroReader.java – Jugular