Check out example codes for "run jar file command line". It will help you in understanding the concepts better.

Code Example 1

java -jar <jar-file-name>.jar

Learn ReactJs, React Native from akashmittal.com