Compatibility
On this page
MongoDB Compatibility
The following compatibility table specifies the recommended version or versions of the Java Reactive Streams driver for use with a specific version of MongoDB.
The first column lists the driver version.
Java Reactive Streams Driver Version | MongoDB 8.0 | MongoDB 7.0 | MongoDB 6.1 | MongoDB 6.0 | MongoDB 5.0 | MongoDB 4.4 | MongoDB 4.2 | MongoDB 4.0 | MongoDB 3.6 |
---|---|---|---|---|---|---|---|---|---|
5.2 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
5.1 | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
5.0 | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
4.11 | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
4.10 | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
4.9 | ⊛ | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
4.8 | ⊛ | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
4.7 | ⊛ | ⊛ | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
4.6 | ⊛ | ⊛ | ⊛ | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ |
4.5 | ⊛ | ⊛ | ⊛ | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ |
4.4 | ⊛ | ⊛ | ⊛ | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ |
4.3 | ⊛ | ⊛ | ⊛ | ⊛ | ✓ | ✓ | ✓ | ✓ | ✓ |
4.2 | ⊛ | ⊛ | ⊛ | ⊛ | ⊛ | ✓ | ✓ | ✓ | ✓ |
4.1 | ⊛ | ⊛ | ⊛ | ⊛ | ⊛ | ✓ | ✓ | ✓ | ✓ |
4.0 | ⊛ | ⊛ | ⊛ | ⊛ | ⊛ | ⊛ | ✓ | ✓ | ✓ |
Language Compatibility
The following compatibility table specifies the recommended version or versions of the Java Reactive Streams driver for use with a specific version of Java. Starting with Java 11, the table explicitly lists only Long-Term-Support (LTS) Java versions.
The first column lists the driver version.
Java Reactive Streams Driver Version | Java 21 | Java 17 | Java 11 [2] | Java 8 | Java 7 | Java 6 |
---|---|---|---|---|---|---|
5.1 | ✓ | ✓ | ✓ | ✓ | ||
5.0 | ✓ | ✓ | ✓ | ✓ | ||
4.11 | ✓ | ✓ | ✓ | ✓ | ||
4.10 | ✓ [1] | ✓ | ✓ | ✓ | ||
4.9 | ✓ [1] | ✓ | ✓ | ✓ | ||
4.8 | ✓ [1] | ✓ | ✓ | ✓ | ||
4.7 | ✓ [1] | ✓ | ✓ | ✓ | ||
4.6 | ✓ [1] | ✓ | ✓ | ✓ | ||
4.5 | ✓ [1] | ✓ | ✓ | ✓ | ||
4.4 | ✓ | ✓ | ✓ | |||
4.3 | ✓ | ✓ | ✓ | ✓ | ||
4.2 | ✓ | ✓ | ✓ | ✓ | ||
4.1 | ✓ | ✓ | ✓ | ✓ |
[1] | (1, 2, 3, 4, 5, 6) This driver version is not compatible with virtual threads. |
[2] | Java versions 8 and above are all supported thanks to the JVM backwards compatibility promise. Only LTS versions will be explicitly listed in future. |
For more information on how to read the compatibility tables, see our guide on MongoDB Compatibility Tables.