Lombok and JDK version

Lombok and Java, which version should I use for the latest JDK?

Lombok and JDK version

We really like Lombok and we use in many of our projects (probably all of them).
Regularly issues arise when we want to upgrade our JDK version and Lombok is not quick enough to update his code with a new release.

JDK JDK Date Lombok Lombok date
24 2025-03-18 v1.18.38 2025-03-31
23 2024-09-17 v1.18.36 2024-11-25
22 2024-03-19 v1.18.32 2024-03-24
21 LTS 2023-09-19 v1.18.32 2024-03-24
20 2023-03-21 v1.18.28 2024-05-23

You can find the releases notes of Lombok here:

https://github.com/projectlombok/lombok/blob/master/doc/changelog.markdown?plain=1&ref=ngjava.dev

Example of issues

In a previous post we already showed an example of problem occurred using Lombok and upgrading JDK: https://marmo.dev/lombok-java-23

Great! Next, complete checkout for full access to Fullstack developer's journey.
Welcome back! You've successfully signed in.
You've successfully subscribed to Fullstack developer's journey.
Success! Your account is fully activated, you now have access to all content.
Success! Your billing info has been updated.
Your billing was not updated.