Java
Installation
Windows
For Windows, java versions should be installed with winget. For example, at the moment of this writing:
winget install EclipseAdoptium.Temurin.21.JDK
In the case of maven, the version should be installed manually untill a package is available (see the winget issue with the request).
Maven should be unzipped under C:\Program Files\Maven
and set the environment:
- Variable
MAVEN_HOME
set to that path - The
Path
variable should contain%MAVEN_PATH%/bin
WSL
Installation of java and related tools is made with sdkman
on WSL:
curl -s "https://get.sdkman.io" | bash
At the moment of this writing, the following versions are installed for both java and maven:
sdk install java 21.0.1-temsdk install maven 3.9.6