Hard coded java versions prevents the CLI from starting and using newer versions. The error message shown is the following and only solution is to switch to different Java version.
Invalid Java version '20', please set JAVA_HOME to major version '11' or '17'
|
private static final List<String> REQUIRED_JAVA_VERSIONS = Collections.unmodifiableList(Arrays.asList("11", "17")); |
Hard coded java versions prevents the CLI from starting and using newer versions. The error message shown is the following and only solution is to switch to different Java version.
Invalid Java version '20', please set JAVA_HOME to major version '11' or '17'context-mapper-cli/src/main/java/org/contextmapper/cli/ContextMapperCLI.java
Line 28 in afb29c0