title: How to add external library in classpath?
body: <p>I have a folder that contains these java files: Main, TableManager, CustomFileWriter, CustomFileReader plus the external library commons-lang3-3.0.jar.I'm trying to compile the Main.java with this command</p>
  
  <pre><code>javac -cp commons-lang3-3.0.jar Main.java
  </code></pre>
  
  <p>but it says cannot find symbol</p>
  
  <pre><code>TableManager table = new TableManager()
  </code></pre>
  
  <p>I create an instance of TableManager in Main class. Without the external library and compiling with just javac Main.java works fine. How can I fix this. I need the external library for the StringUtils. I'm not using frameworks. Just text editor and running to terminal.</p>