Eclipse project-wide error: Warning: The environment variable HOME is not set. The following directory will be used to store the Git

前端 未结 6 1830
无人及你
无人及你 2020-12-05 04:45

Started Eclipse and got this error. How do I fix it?

Warning: The environment variable HOME is not set. The following directory will be used to store the Git         


        
6条回答
  •  广开言路
    2020-12-05 05:31

    You should study the official documentation

    Setting up the Home Directory on Windows

    Add the environment variable HOME to your environment variables.

    In Windows 7:

    1. type "environment" at the start menu.
    2. Select "Edit environment variables for your account".
    3. Under "User Variables", click the "New" button.
    4. Enter "HOME" in the name field.
    5. Enter "%USERPROFILE%" or some other path in the value field.
    6. Click OK, and OK again. You have just added the Home directory on Windows.

    File > Exit, then restart the application.

提交回复
热议问题