where to put jar files in Java 12 code example
Example 1: adding jar file gradle
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
}
Example 2: 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>