javaspringdrools

Drools 8.x Java 8 Compatibility


I'm considering using Drools to create and manage business rules in my application. The documentation (https://docs.drools.org/8.32.0.Final/drools-docs/docs-website/drools/getting-started/index.html) mentions JDK 11+ as a prerequisite. My application is Spring Boot 2.x that uses Java 8. Upgrading my application to Java 11 is not an option. Is Drools 8.x compatible with Java 8? If not, is there a matrix of Drools and Java version?


Solution

  • Correct, for Drools 8, Java 11 is min version required.

    We noted that as well in the release notes too:

    JDK 11 is now the minimum Java version required to compile Drools and [JRE 11 to] make use of Drools.

    As well as other prerequisite updates.