Currently Bonita support both Java 8 and Java 11.
I would recommend to use Java 11 as it is the most recent Long Term Support (LTS) version.
Also Bonita support both Oracle and OpenJDK. Here I don't really have a recommendation of which distribution to use.