title: No suitable driver found for jdbc in java
body: <p>Im new in sql server, and want to create connection between java and sql server. my connection code is:</p>
  
  <pre><code> public static void main(String[] args) {
  
      Connection con;
         try {
  
         String connectionUrl = "jdbc:sqlserver://HELLO-PC:1433; databaseName=Attendance Teachers;";
  
          con = DriverManager.getConnection(connectionUrl, "", "");
          System.out.println("connected");
          java.sql.Statement st = con.createStatement();    
        }
          catch (SQLException ex) {
  
          Logger.getLogger(AttendanceTeachers.class.getName()).log(Level.SEVERE, null, ex);
      }
  </code></pre>
  
  <p>my server name is 'HELLO-PC' an i also add sqljdbc.jar. i see error:</p>
  
  <pre><code>Feb 01, 2013 11:24:46 AM attendance.teachers.AttendanceTeachers main
  SEVERE: null
  java.sql.SQLException: No suitable driver found for jdbc:sqlserver://HELLO-PC:1433;   databaseName=Attendance Teachers;
  at java.sql.DriverManager.getConnection(DriverManager.java:604)
  at java.sql.DriverManager.getConnection(DriverManager.java:221)
  at attendance.teachers.AttendanceTeachers.main(AttendanceTeachers.java:30)
  </code></pre>
  
  <p>I realy need help.thanks.</p>