Docs Menu

Compatibility

On this page

  • MongoDB Compatibility
  • Language Compatibility

The following compatibility table specifies the recommended versions of the MongoDB Java driver for use with a specific version of MongoDB.

The first column lists the driver versions.

Java Driver Version
MongoDB 5.3
MongoDB 5.2
MongoDB 5.1
MongoDB 5.0
MongoDB 4.4
MongoDB 4.2
MongoDB 4.0
MongoDB 3.6
MongoDB 3.4
MongoDB 3.2
MongoDB 3.0
MongoDB 2.6
4.6
4.5
4.4
4.3
4.2
4.1
4.0
3.12
3.11
3.10
3.9
3.8
3.7
3.6
3.5
3.4
3.3
3.2
3.1
3.0

The following compatibility table specifies the recommended versions of the MongoDB Java driver for use with a specific version of Java.

The first column lists the driver versions.

Java Driver Version
Java 17
Java 11 [1]
Java 8
Java 7
Java 6
Java 5
4.6
4.5
4.4
4.3
4.2
4.1
4.0
3.12
3.11
3.10
3.9
3.8
3.4
3.3
3.2
3.1
3.0
[1] In the future, only LTS Java versions will be explicitly listed.
←  Issues & HelpWhat's New →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.