import jar file in java code example
Example 1: import jar file
# cd into the directory that contains your jar file
jar xf name.jar
Example 2: how to run module jar file in java
javac -d out --module-source-path src/main/java --module com.jenkov.mymodule