On Mon, Nov 11, 2019 at 08:07:00AM +0100, Rafael Sadowski wrote: > If upstream recommends OpenJDK 8, I prefer to set MODJAVA_VER = 1.8 instead > of 1.8+ otherwise we run in and error if only JDK11 is installed: > > $ lein > /usr/local/bin/lein: line 122: /usr/local/jdk-1.8.0/bin/java: No such > file or directory Good catch, thanks. lang/clojure uses 1.8+ (with plus) as well, could we run into simliar problems here as well?
Since that path to the java executable is substituted at build time and devel/jdk provides no version agnostic path, I don't see a better solution as of now than fixing it to 1.8 (no plus). OK?
leiningen.tgz
Description: Binary data