title: Eclipse java.lang.ClassNotFoundException
body: <p>my project is giving the following error: Exception in thread "main" java.lang.ClassNotFoundException: org.apache.jerby.jdbc.EmbeddedDriver
  Here is my CreateDatabase code:</p>
  
  <pre><code>import java.sql.Connection;
  import java.sql.DriverManager;
  import java.sql.SQLException;
  //jj
  public class CreateDB {
      private static final String DRIVER = "org.apache.jerby.jdbc.EmbeddedDriver";
      private static final String JDBC_URL = "jdbc:derby:test;create=true";
      public static void main(String[] args) throws SQLException, ClassNotFoundException{
          Class.forName(DRIVER);
          Connection connection = DriverManager.getConnection(JDBC_URL);
          connection.createStatement().execute("Create table channels");
          connection.createStatement().execute("Inserting values");
          System.out.println("Database created, records inserted.");
      }
  }
  </code></pre>