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

前端 未结 6 1822
无人及你
无人及你 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:18

    The other answers don't contemplate that if you don't use Git, then you can entirely ignore this warning, along with the "EGit could not detect" one.

    But I know... obsessive minds can't just ignore... they NEED to fix it anyway, right?

    Then proceed:

    1. Go to "Window --> Preferences" menu
    2. Expand: "Team --> Git --> Confirmations and warnings"
    3. Uncheck the "Home directory" and "Git prefix" boxes
    4. Ok
    5. In the Workspace log, delete the old warnings (red cross icon)
    6. Restart Eclipse
    7. Feel the peace spreading through your mind... :)

提交回复
热议问题