implementation 'com.microsoft.sqlserver:mssql-jdbc:13.4.0.jre11' Use code with caution. Implementation and Usage
: The source code and community releases are available on the Microsoft mssql-jdbc GitHub . Current Version and Compatibility As of May 2026, the latest stable version is 13.4.0 . Java Version JAR File to Use JDBC Specification Java 25, 21, 17, 11 mssql-jdbc-13.4.0.jre11.jar Java 8 mssql-jdbc-13.4.0.jre8.jar Dependency Configurations
You can obtain the driver as a standalone JAR file or through dependency management tools. download jar com.microsoft.sqlserver.jdbc.sqlserverdriver
com.microsoft.sqlserver mssql-jdbc 13.4.0.jre11 Use code with caution. Gradle ( build.gradle )
: The official website provides the latest General Availability (GA) versions as .zip or .tar.gz packages. You can download it from the Microsoft JDBC Driver for SQL Server download page . implementation 'com
: If you are using Apache Maven or Gradle, you can automatically download the JAR by adding the coordinates to your build file.
After downloading the JAR and adding it to your project's classpath, you can establish a connection using the following details: com.microsoft.sqlserver - Maven Repository Java Version JAR File to Use JDBC Specification
Using build tools is the recommended way to manage the com.microsoft.sqlserver.jdbc.SQLServerDriver and its dependencies. Maven ( pom.xml )