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

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

    You need to set the JAVA_HOME variable in your system. Depends on your Operating system you can check for "How to set Environment variable?" and from that point you need to set environment variable

    Variable Name : JAVA_HOME Value : Path of Java upto bin folder

    1. In Windows 7, type "environment" at the start menu
    2. Select "Edit environment variables for your account"
    3. 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.

提交回复
热议问题