title: Trying to connect to a SQLite database, keep getting no Suitable Driver Found
body: <p>When I call The staement  </p>
  
  <pre><code>c = DriverManager.getConnection("jdbc:sqlite:sample.db");   
  </code></pre>
  
  <p>I get a exception saying</p>
  
  <blockquote>
    <p>no Suitable Driver Found for jdbc:sqlite:sample.db</p>
  </blockquote>
  
  <p>The project is running in eclipse on a windows platform.</p>
  
  <p>This is what I did:</p>
  
  <ol>
  <li>WENT TO properties-> java build path -> Add external jar</li>
  <li>added the file sqllite-3-16-1.jar</li>
  </ol>
  
  <p>The code</p>
  
  <pre><code>  try {
        // exception goes off here
        c = DriverManager.getConnection("jdbc:sqlite:sample.db");     
    } catch(Exception e){
              ted=ted+1;      
    } // 
  </code></pre>