Cannot start crateDB service

Hello -

I just did a fresh install of crate on RHEL 7 and the service fails to strart. Below is from systemctl status:

Unrecognized option: -Xlog:gc*,gc+age=trace,safepoint:file=/var/log/crate/gc.log:utctime,pid,tags:filecount=16,filesize=64m

Using this package - https://cdn.crate.io/downloads/yum/7/noarch/crate-release-7.0-1.noarch.rpm

Any ideas? Thank you.

It looks like a wrong version of Java is used. The latest CrateDB (4.0 and 4.1) require a Java/JVM >= 11