- Download JAVA
- Click on JDK Download
- Click on JDK Version
- Extract the Folder
- double Click on it > Click > Click > Finish
- Press Windows key, type
adva
and clicks on theView advanced system settings
- Clicks on the
Environment Variables
- In
System variables
clicksNew...
button to add a new JAVA_HOME variable and point it to the JDK installed folder.- JAVA_HOME
- C:\Program Files\Java\jdkxxxx
- In System variables, find & select
PATH
and then clicksedit...
button - In old version of Windows, it will prompt dialog box to edit the values directly, append this
%JAVA_HOME%\bin;
to the end of the line. DO NOT Delete anything. - In latest Windows 10, it will prompt a dialog box, clicks on
New button
and add this%JAVA_HOME%\bin
- Press Windows key, type
cmd
and clicks on theCommand Promt
- Validation: Enter
java -version
It will appear the version messages.
- Download Maven
- Download "Binary zip archive" File
- Extract the file
- Press Windows key, type
adva
and clicks on theView advanced system settings
- Clicks on the
Environment Variables
- In System Properties dialog, select
Advanced tab
and clicks on theEnvironment Variables...
button. - In
Environment variables
dialog, System variables, Clicks on theNew...
button and add aMAVEN_HOME
C:\Download\apache-maven-xxx
- In system variables, find & Select
PATH
clicks on theEdit...
button. In “Edit environment variable” dialog, clicks on theNew button
and add this%MAVEN_HOME%\bin
- Press Windows key, type
cmd
and clicks on theCommand Promt
- Validation: Enter
mvn -version
It will appear the version messages.