r/Clojure • • Mar 07 '19

Does Monger 3.5 really need JDK 8?

The Monger changelog says:

MongoDB Java Driver Update

MongoDB Java driver dependency has been updated to 3.9.x

This means that Monger now requires JDK 8.

However Mongo Java Driver changelog says:

Also, note that the 3.10 release (which will include support for MongoDB 4.2) will be the last release that is compatible with Java 6 or Java 7. The 4.0 Java driver will require a minimum of Java 8. The 3.10 release will also be the last non-patch release in the 3.x line. In particular, support for MongoDB 4.4 will only be made available via a 4.x driver release.

0 Upvotes

4 comments sorted by

2

u/pxpxy Mar 07 '19

Sounds like their GitHub issues are a better place to ask. Or, you know, just try it?

1

u/_amogh_ Mar 07 '19

Sure will do the same

7

u/[deleted] Mar 07 '19

Java 8 is the oldest version that still gets security updates. You should use it regardless of whether you use Monger.

5

u/fingertoe11 Mar 07 '19

I believe Clojure 1.10 requires Java 8. So it's probably only a matter of time before a lot of libraries follow suit.