The previous approach, cribbed from apacheds upstream package, forced an install of an undesired JRE.
Instead, just require something that is at least Java 11 (minimum for Lucene/Dropwizard) and point to /usr/bin/java. Admins can override cleanly in the defaults file if they have preferred JDK/JRE's at other paths.
The previous approach, cribbed from apacheds upstream package, forced an install of an undesired JRE.
Instead, just require something that is at least Java 11 (minimum for Lucene/Dropwizard) and point to /usr/bin/java. Admins can override cleanly in the defaults file if they have preferred JDK/JRE's at other paths.