1brc
1brc copied to clipboard
Project won't compile on WSL
When running in WSL, with openjdk-21-jre-headless
, the command ./mvnw clean verify -X
fails:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.12.1:compile (default-compile) on project average: Fatal error compiling: error: release version 21 not supported -> [Help 1]
This is the output of java --version
:
openjdk 21.0.1 2023-10-17
OpenJDK Runtime Environment (build 21.0.1+12-Ubuntu-222.04)
OpenJDK 64-Bit Server VM (build 21.0.1+12-Ubuntu-222.04, mixed mode, sharing)
Full log uploaded: