Lombok - Java JDK compatibility matrix

Updated: 2025-04-02

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.

lombok and java
JDKJDK DateLombokLombok date
242025-03-18v1.18.382025-03-31
232024-09-17v1.18.362024-11-25
222024-03-19v1.18.322024-03-24
21 LTS2023-09-19v1.18.322024-03-24
202023-03-21v1.18.282024-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

Since JDK 23

If you have an error during the maven build with the latest Lombok version you can try to add

<maven.compiler.proc>full</maven.compiler.proc>  

This instructs maven to process the annotations. JDK 23 changed the default compilation strategy.

As of JDK 23, annotation processing is only run with some explicit configuration of annotation processing or with an explicit request to run annotation processing on the javac command line. This is a change in behavior from the existing default of looking to run annotation processing by searching the class path for processors without any explicit annotation processing related options needing to be present.

https://www.oracle.com/java/technologies/javase/23all-relnotes.html


WebApp built by Marco using Java 24 - Hosted in Switzerland