Download Microsoft JDBC Driver for SQL Server
This article provides download links to the Microsoft JDBC Driver for SQL Server. This driver enables you to develop Java applications that connect to SQL Server.
Available downloads of JDBC Driver for SQL Server
Use the links in the following table to download the latest Microsoft JDBC Driver for SQL Server that matches your Java Runtime Environment (JRE):
|Version||Release date||Java versions|
|Microsoft JDBC Driver 8.2||1/31/2020||JRE 8, 11, 13|
|Microsoft JDBC Driver 7.4||8/1/2019||JRE 8, 11, 12|
|Microsoft JDBC Driver 7.2||4/17/2019||JRE 8, 11|
|Microsoft JDBC Driver 7.0||7/31/2018||JRE 8, 10|
|Microsoft JDBC Driver 6.4||3/26/2018||JRE 7, 8, 9|
|Microsoft JDBC Driver 6.2||2/12/2018||JRE 7, 8|
|Microsoft JDBC Driver 6.0||2/27/2018||JRE 7, 8|
|Microsoft JDBC Driver 4.2||2/26/2018||JRE 7, 8|
When you download the driver, there are multiple JAR files. The name of the JAR file indicates the version of Java that it supports. For more information about each release, see the Release notes and System requirements.
Using the JDBC driver with Maven Central
The JDBC driver can be added to a Maven project by adding it as a dependency in the POM.xml file with the following code:
<dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>mssql-jdbc</artifactId> <version>8.2.0.jre11</version> </dependency>
Unsupported driver versions are not available for download here. We are continually improving the Java connectivity support. As such we highly recommend that you work with the latest version of Microsoft JDBC driver.