java.maven.git environment variable configuration

System operation needs to support Java-related environment, the configuration steps as follows:

  1. Click Computer -> Properties -> Advanced System Settings
    Here Insert Picture Description

  2. Click Advanced -> Environment Variables
    Here Insert Picture Description

  3. Incrementing the variable name in the system variable (custom name, path for the path corresponding to the software installation)
    Here Insert Picture Description
    Add the following format:
    Here Insert Picture Description

  4. 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;

  5. 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
    Here Insert Picture Description

Published 27 original articles · won praise 1 · views 862

Guess you like

Origin blog.csdn.net/weixin_44971379/article/details/103837717