I want to learn more about JSF framework but its first step is to install MAVEN. I followed all the steps in installing Maven here. I've downloaded the file "apache-maven-3.3.3-bin.zip" here. When I open the command prompt and typed "mvn --version" I got the following error.
I've also set my environment variables on system variables panel.
The M2_HOME full directory is C:\Program Files\Apache Software Foundation\apache-maven-3.3.3
and the JAVA_HOME directory C:\Program Files\Java\jre1.8.0_51
And I checked also the version of JAVA I'm using.