Closed paskozdilar closed 5 months ago
@paskozdilar I found this helpful stack overflow post.
I'm also using WSL, and the solution was to download and install Java directly (not with apt).
https://www.oracle.com/java/technologies/downloads/#jdk21-linux
Hopefully, this helps!
Thanks @marktodisco. I've tried following your instructions, but with OpenJDK instead of proprietary Oracle JDK: https://jdk.java.net/21/ And the build has passed.
Even though I would still consider this a bug worthy of investigation (why doesn't it work with default Ubuntu package?), I won't keep this issue open since the project works now.
When running in WSL, with
openjdk-21-jre-headless
, the command./mvnw clean verify -X
fails:This is the output of
java --version
:Full log uploaded:
log.txt