title: Proper place to put Postgres JDBC Driver (postgresql-42.1.4.jar) on linux
body: <pre><code>import java.sql.DriverManager;
  import java.sql.Connection;
  import java.sql.SQLException;
  
  
  class Demopsql{
  
  Demopsql()
  {
      try {
          Class.forName("org.postgresql.Driver");
      } catch (ClassNotFoundException e) {
          System.out.println("Where is your PostgreSQL JDBC Driver? "
                      + "Include in your library path!");
              e.printStackTrace();
              return;    
      }    
  }
  </code></pre>
  
  <p>where should it be paste postgresql-42.1.4.jar or extracted at where?</p>
  
  <p>so that program won't throw class not found exception.</p>