im trying to connect SQL server to Eclipse and im getting this error

I’m trying to connect with MS SQL Server using a Java Application. This is the code I’m using:

public static void main(String[] args)  {
    try {  
        Class.forName("com.sqlserver.jdbc.Driver");                                   
        Connection con=DriverManager.getConnection("jdbc:sqlserver:<SERVER>","user","password");  
        Statement stmt = con.createStatement();  
        ResultSet rs = stmt.executeQuery("SELECT TOP 1 [MsgTextArabic] FROM 
     [FactBulkSMS].[dbo].[Messages] order by SendingDateTime desc");

        while(rs.next())  
            System.out.println(rs.getInt(1)+""+rs.getString(2)+""+rs.getString(3));
    }
    catch(Exception e) { 
        System.out.println(e);
        e.printStackTrace();
    }

When running this code, the following Exception is thrown:

java.lang.ClassNotFoundException: com.sqlserver.jdbc.Driver

java.lang.ClassNotFoundException: com.sqlserver.jdbc.Driver
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at test.main(test.java:13)