- For Linux, simply run the command
./install-maven-jdk17.sh
. It will installOpenJDK 17
andMaven 3.8.3
. If you are still seeing the old JDK when executingmvn --version
then please executeexport JAVA_HOME=/opt/custom-ubaid/java
- For Mac
- Download JDK-17 tar.gz from jdk.java.net
- Extract it and set
JAVA_HOME
by 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_HOME
usingEnvironment Variable
- Install the latest Maven 3.8.3
- Set
MAVEN_HOME
andM2_HOME
usingEnvironment Variable