datalevin

prnc 2025-03-21T18:32:03.721209Z

Hi 👋 Is there a minimum java version to use datalevin—couldn’t see it mentioned in the README?

prnc 2025-03-21T18:36:56.665969Z

On java 11, I’m seeing

Error compiling datalevin/compress.clj at (1:1)
[...]

Caused by java.lang.UnsupportedClassVersionError
me/lemire/integercompression/IntCompressor has been compiled by a more recent version of the Java
Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

Huahai 2025-03-21T22:20:39.733969Z

I thought it was 11, but it appears to be 17

Huahai 2025-03-21T22:51:55.879619Z

Updated doc/install.md

1
Josh 2025-03-22T00:59:37.890809Z

I was able to use java 11 with the second to last release, did the last release change the minimum to 17?

Huahai 2025-03-22T02:44:11.278959Z

Apparently so.

Huahai 2025-03-22T02:46:17.345529Z

Not intentional, but it did. It’s also about time. According to Alex Miller, the next version of Clojure is moving to 17 as well

prnc 2025-03-24T09:07:33.858239Z

Is this not going to break people running 11 in production?

Huahai 2025-03-24T15:24:19.952249Z

Running test before putting things in production is an accepted practice.