JAVA ENVIRONMENT SET UP
===========================
In System Variables
JAVA_HOME : C:\Program Files\Java\jdk1.8.0_144
JDK_HOME : %JAVA_HOME%
JRE_HOME : %JAVA_HOME%\jre
CLASSPATH : .;%JAVA_HOME%\lib;%JAVA_HOME%\jre\lib
PATH : Existing-entries;%JAVA_HOME%\bin
Maven
=======
In System Variables
1. Add JAVA_HOME as mentioned above
2. MAVEN_HOME/M2_HOME : C:\Program Files\Apache\maven
3. PATH : alreadyExistingPath;%MAVEN_HOME/M2_HOME%\bin
check console: mvn -version
ANT
========
In System Variables
ANT_HOME : c:\xx\apache-ant-x.x
PATH : alreadyExistingPath;% ANT_HOME%\bin
check console: ant -v
===========================
In System Variables
JAVA_HOME : C:\Program Files\Java\jdk1.8.0_144
JDK_HOME : %JAVA_HOME%
JRE_HOME : %JAVA_HOME%\jre
CLASSPATH : .;%JAVA_HOME%\lib;%JAVA_HOME%\jre\lib
PATH : Existing-entries;%JAVA_HOME%\bin
Maven
=======
In System Variables
1. Add JAVA_HOME as mentioned above
2. MAVEN_HOME/M2_HOME : C:\Program Files\Apache\maven
3. PATH : alreadyExistingPath;%MAVEN_HOME/M2_HOME%\bin
check console: mvn -version
ANT
========
In System Variables
ANT_HOME : c:\xx\apache-ant-x.x
PATH : alreadyExistingPath;% ANT_HOME%\bin
check console: ant -v