Cannot reference jdbc.SQLServerDriver in Eclipse (ClassNotFoundException)
I am trying to use the MSSQL driver for JDBC.  I have followed the instructions on how to add an external JAR file to the Eclipse Windows IDE as follow:<br/><br/>
 - Download the installation from here http://msdn.microsoft.com/en-us/sqlserver/aa937724.aspx (Microsoft JDBC Driver 4.0 for SQL Server) <br/>
 - Extract the zip to a file location I have extracted it here (c:\MsJDBCforSqlDriver)
 - In Eclipse Package Explorer right click your project -> Build Path -> Configure Build Path -> Java Build Path -> Libraries Tab- Add External JAR file and then I browse to 
"C:\MsJDBCforSqlDriver\sqljdbc_4.0\enu\sqljdbc4.jar" <br/>
- I then view the successful reference as in image below including SQLServerDriver.class

![enter image description here][1]


When I try to execute Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver") I get a ClassNotFound Exception as below:

![enter image description here][2]


  [1]: http://i.stack.imgur.com/WSYbE.jpg
  [2]: http://i.stack.imgur.com/4cUDG.png

I tried all suggestions I could find on Google including setting the classpath in Windows Environment Variables.


Cannot reference jdbc.SQLServerDriver in Eclipse (ClassNotFoundException)
===

I am trying to use the MSSQL driver for JDBC.  I have followed the instructions on how to add an external JAR file to the Eclipse Windows IDE as follow:<br/><br/>
 - Download the installation from here http://msdn.microsoft.com/en-us/sqlserver/aa937724.aspx (Microsoft JDBC Driver 4.0 for SQL Server) <br/>
 - Extract the zip to a file location I have extracted it here (c:\MsJDBCforSqlDriver)
 - In Eclipse Package Explorer right click your project -> Build Path -> Configure Build Path -> Java Build Path -> Libraries Tab- Add External JAR file and then I browse to 
"C:\MsJDBCforSqlDriver\sqljdbc_4.0\enu\sqljdbc4.jar" <br/>
- I then view the successful reference as in image below including SQLServerDriver.class

![enter image description here][1]


When I try to execute Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver") I get a ClassNotFound Exception as below:

![enter image description here][2]


  [1]: http://i.stack.imgur.com/WSYbE.jpg
  [2]: http://i.stack.imgur.com/4cUDG.png

I tried all suggestions I could find on Google including setting the classpath in Windows Environment Variables.

