title: How to run Java program in terminal with external library JAR
body: <p>This should be simple but I have never done it before and didn't find any solution.</p>
  
  <p>I am currently using Eclipse to code my program, which imports some external JAR library such as google data api library. I can use Eclipse to compile/build/run the program.</p>
  
  <p>But now I want to run it in terminal, so where should I put those JAR files, and how to build and run the program?</p>
  
  <p>Thanks!</p>