For a legacy Java EE project I have to work with JDK 1.7 Since I want to add drools for managing business rules, I'd like to know which is the latest drools release I can use for this project.
I have tried with the following versions, and I can not compile the examples included in the release:
6.5, 6.2, 6.1, 6.0, 5.6, 5.5
Error: Unsupported major.minor version 52.0
My JAVA_HOME is set to 1.8:
Could this be the cause of the problem? or is the drools release incompatibility with JDK 1.7
A lot of Thanks for your help.
Drools 5.x should work fine with JDK 1.7.
As others have mentioned, and to answer your other question, you will need to compile your project against JDK 1.7 instead of 1.8.
Some additional information about your error "Error: Unsupported major.minor version 52.0" can be found in this post:
How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.