- For Linux, simply run the command
./install-maven-jdk17.sh. It will installOpenJDK 17andMaven 3.8.3. If you are still seeing the old JDK when executingmvn --versionthen please executeexport JAVA_HOME=/opt/custom-ubaid/java - For Mac
- Download JDK-17 tar.gz from jdk.java.net
- Extract it and set
JAVA_HOMEby runningexport JAVA_HOME=/path/to/extracted/jdk16/tar - Install the latest Maven 3.8.3
- Set MAVEN_HOME and M2_HOME and are pointing to maven-3.8.1 root directory
- For Windows
- Download JDK-17 zip from jdk.java.net
- Extract it and set
JAVA_HOMEusingEnvironment Variable - Install the latest Maven 3.8.3
- Set
MAVEN_HOMEandM2_HOMEusingEnvironment Variable