title: SQLException: No suitable driver found for jdbc:derby
body: <p>I've found this question before but non of the answers work for me!
  I've got this error after running:</p>
  
  <blockquote>
    <p>SQLException: No suitable driver found for
    jdbc:derby://localhost:1527//RIHANNA-PC/Users/javadb</p>
  </blockquote>
  
  <p>I've add derbyclient.jar to Library.but I didn't get any different result.I also don't want to create a new database.</p>
  
  <pre><code>private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {                                         
      // TODO add your handling code here:
      String userid="a", password = "a";
  
   //   "jdbc:derby://localhost:1527//RIHANNA-PC/Users/javadb"
      String url = "jdbc:derby://localhost:1527//RIHANNA-PC/Users/javadb";
      Statement stmt;
      Connection con;
      String createString="select * from tbl_operator where user_id='" + jTextField1.getText() +  "' and pwd='" + jTextField2.getText() + "'";
      ResultSet rs;
      try {
          con=DriverManager.getConnection(url,userid, password);
          stmt = con.createStatement();
          rs=stmt.executeQuery(createString);
  </code></pre>