Home > Enterprise >  Drools 8.x Java 8 Compatibility
Drools 8.x Java 8 Compatibility

Time:12-29

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?.

CodePudding user response:

Technically the JDK and the JRE are two different components, but any reasonable distribution of JDK 11 would be built with Java 11's class version, so JRE 8 won't be able to use it.

EDIT:
Actually, Drools 8.x JARs are compiled with Java 11 too, so using Java 8 would be a no-go right off the bat.

CodePudding user response:

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.

  • Related