Eclipse项目范围的错误:警告:环境变量HOME未设置。将使用以下目录来存储Git [英] Eclipse project-wide error: Warning: The environment variable HOME is not set. The following directory will be used to store the Git

查看:4888
本文介绍了Eclipse项目范围的错误:警告:环境变量HOME未设置。将使用以下目录来存储Git的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

启动Eclipse并收到此错误。如何修复?

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
user global configuration and to define the default location to store repositories: 'C:\Documents and Settings\Wizard'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.

如果需要任何其他信息,请告诉我,我会提供。

If any additional information is needed, let me know and I will provide it.

推荐答案

您需要在系统中设置JAVA_HOME变量。
取决于您的操作系统,您可以检查如何设置环境变量?从那时起,您需要设置环境变量

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

变量名称:JAVA_HOME
值:Java upto bin文件夹的路径

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


  1. 在Windows 7中,在开始菜单中输入environment

  2. 选择为您的帐户编辑环境变量

  3. 点击新建按钮。

  4. 在名称字段中输入HOME$ / b $ b
  5. 输入%USERPROFILE%或值域中的其他一些路径。

  6. 单击确定,然后再次单击确定。您刚刚在Windows上添加了Home目录。

  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.

这篇关于Eclipse项目范围的错误:警告:环境变量HOME未设置。将使用以下目录来存储Git的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆