nvuillam/npm-groovy-lint

Problem detecting existing Java 17 installation and installing new build for no reason

realdadfish opened this issue · 3 comments

I have Java installed:

$  java -version
openjdk version "17.0.9" 2023-10-17
OpenJDK Runtime Environment JBR-17.0.9+7-1087.3-jcef (build 17.0.9+7-b1087.3)
OpenJDK 64-Bit Server VM JBR-17.0.9+7-1087.3-jcef (build 17.0.9+7-b1087.3, mixed mode)

The java-caller NPM library parses this version here as "17.09" and later, this check for the maximum allowed Java version fails, because the CodeNarc server here has set a maximum Java version of "17" and naturally "17.09" is bigger than "17".

@realdadfish please can you try again with npm-groovy-lint@12.1.0 ? :)

djukxe commented

I confirm it works like a charm now 🥳

Thanks for the feedback :)