System operation needs to support Java-related environment, the configuration steps as follows:
-
Click Computer -> Properties -> Advanced System Settings
-
Click Advanced -> Environment Variables
-
Incrementing the variable name in the system variable (custom name, path for the path corresponding to the software installation)
Add the following format:
-
The need to write the new configuration environment variables fixed path, Note: a plurality of variables separated by semicolons, writing rules as variable%% \ the corresponding directory; add the above exemplary format% MAVEN% \ bin;
-
Click OK to save the edit, confirm, in any directory, press crtl + r to bring up the command window, type cmd simple version of the test, if the version information, the environment variable is successfully configured
jdk version test command: the Java -version
git test version command: git --version
Maven version test command: mvn --v