Download Git from here. Follow the installation instructions.
Download and install Java from here. Set the JAVA_HOME environment variable.
Download Maven from here. Extract the files and add bin to your system's PATH.
To run a JAR file, use the following command:
java -jar yourfile.jar