where to put external jar files in Java 12 code example
Example 1: how to run java program with external jar files in command prompt
javac -cp "<File-Path>.jar;." <filename>.java
java -cp "<File-Path>.jar;." <filename>
Example 2: import jar file
# cd into the directory that contains your jar file
jar xf name.jar