启动Eclipse并收到此错误。我如何解决它?
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.
如果需要任何其他信息,请告诉我,我会提供。
最佳答案
您需要在系统中设置JAVA_HOME变量。
根据您的操作系统,您可以检查“如何设置环境变量?”。从那时起,您需要设置环境变量
变量名称:JAVA_HOME
值:Java到bin文件夹的路径
关于eclipse - Eclipse项目范围的错误:警告:未设置环境变量HOME。以下目录将用于存储Git,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/19175089/