Skip to main content



      Home
Home » Newcomers » Newcomers » EGit could not detect where Git is installed (EGit could not detect where Git is installed )
EGit could not detect where Git is installed [message #935034] Sat, 06 October 2012 11:50 Go to next message
Eclipse UserFriend
I just installed Eclipse Juno, and when I first try to start a new Java project, it pops out two messages. Can anyone help me please? Thanks a lot. (BTB I saw same posting but could not get the solution out of it, anybody saw and can help me for the same. If somthing need to be installed how can I do ...)


The first one- EGit could not detect where Git is installed

EGit does not require Git to function, but there may be important settings in the installation directory that EGit needs to know about in order

to be compatible with Git. The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in the

etc director of the Git installation. The directory can be configured in Preferences under Team > Git.

The second-
Check Home Directory C:\Users\"my name"

the environment variable HOME is not set. The following directory will be used for storing the Git user configuration and as default repository location: C:\Users\"my name". If this is not correct please set the HOME environment variable and restart Eclipse
Re: EGit could not detect where Git is installed [message #935150 is a reply to message #935034] Sat, 06 October 2012 14:50 Go to previous messageGo to next message
Eclipse UserFriend
Best to ask on the eclipse.egit forum.

On 06/10/2012 5:50 PM, Pothik Babu wrote:
> I just installed Eclipse Juno, and when I first try to start a new
> Java project, it pops out two messages. Can anyone help me please?
> Thanks a lot. (BTB I saw same posting but could not get the solution
> out of it, anybody saw and can help me for the same. If somthing need
> to be installed how can I do ...)
>
>
> The first one- EGit could not detect where Git is installed
>
> EGit does not require Git to function, but there may be important
> settings in the installation directory that EGit needs to know about
> in order
> to be compatible with Git. The most important of these settings is
> core.autocrlf. Git for Windows by default sets this parameter to true
> in the
> etc director of the Git installation. The directory can be configured
> in Preferences under Team > Git.
> The second-
> Check Home Directory C:\Users\"my name"
>
> the environment variable HOME is not set. The following directory will
> be used for storing the Git user configuration and as default
> repository location: C:\Users\"my name". If this is not correct please
> set the HOME environment variable and restart Eclipse
Re: EGit could not detect where Git is installed [message #959286 is a reply to message #935150] Fri, 26 October 2012 11:48 Go to previous messageGo to next message
Eclipse UserFriend
This thread is the first result when one searches for this problem on Google. It's a pity you couldn't have given a helpful response.

Remember, a newcomer (that's the name of the forum, remember?) isn't here because they want git. They are here because they want Eclipse! From the user point of view, if Eclipse chooses to have a dependency on git, it is not the user's problem.

No, I'm not just here to complain. I'd really like to know how to fix these messages, and whether ignoring them can cause problems.
Re: EGit could not detect where Git is installed [message #959923 is a reply to message #935034] Fri, 26 October 2012 23:34 Go to previous messageGo to next message
Eclipse UserFriend
These are not catastrophic errors. They are messages indicating that if you have git installed, it wasn't found and egit and git may have different defaults (what to do with line delimiters, whether to check file modes, etc.) because of it. If you do have git installed, just follow the directions you were given.

[Updated on: Fri, 26 October 2012 23:35] by Moderator

ANSWER ANSWER ANSWER [message #968488 is a reply to message #959923] Fri, 02 November 2012 09:53 Go to previous messageGo to next message
Eclipse UserFriend
Wow Lots of anger here;;; Embarrassed
Twisted Evil Laughing

For those of you who just want to get back to worring about learning eclipse and Java
the MAGIC ANSWER IS


YOU MAY IGNORE THESE PROMPTS AND CONTINUE JUST FINE TRYING TO HACK THROUGH YOUR STUDIES IN ECLIPSE Good luck .

These 'warnings' are simply telling you that this IDE wants to have some other crap installed that you really don't need to worry about.

Git is an automation to GET ( Obtain ) new
addOns libraries blah blah blah plug ins whaterver....

What have you --- I don't Get--- Git just yet, I have enough problems just
trying to GET eclipse to not crash with memory overflow errors. I can "install new software" from the Help Menu so Git must be some additional perhaps paid add ons or something if I recall correctly. Some way you can publish and maybe charge for you innovations in the field .. Whatever it really is you don't need to worry about it to get started. Don't flame Me ....The truth is this IS the first response page when for searching for this and it needed to include an informative answer .
Re: ANSWER ANSWER ANSWER [message #968570 is a reply to message #968488] Fri, 02 November 2012 11:00 Go to previous messageGo to next message
Eclipse UserFriend
On 11/2/2012 7:55 AM, Christian Programmer wrote:
> Wow Lots of anger here;;; :blush: :twisted: :lol:
> For those of you who just want to get back to worring about learning
> eclipse and Java the MAGIC ANSWER IS
>
> YOU MAY IGNORE THESE PROMPTS AND CONTINUE JUST FINE TRYING TO HACK
> THROUGH YOUR STUDIES IN ECLIPSE Good luck .
>
> These 'warnings' are simply telling you that this IDE wants to have
> some other crap installed that you really don't need to worry about.
> Git is an automation to GET ( Obtain ) new addOns libraries blah blah
> blah plug ins whaterver....
>
> What have you --- I don't Get--- Git just yet, I have enough problems
> just trying to GET eclipse to not crash with memory overflow errors. I
> can "install new software" from the Help Menu so Git must be some
> additional perhaps paid add ons or something if I recall correctly. Some
> way you can publish and maybe charge for you innovations in the field ..
> Whatever it really is you don't need to worry about it to get started.
> Don't flame Me ....The truth is this IS the first response page when for
> searching for this and it needed to include an informative answer .

I think this is new with Juno. Just back up to Indigo if you like.
icon4.gif  Re: EGit could not detect where Git is installed [message #1017292 is a reply to message #935034] Mon, 11 March 2013 09:49 Go to previous messageGo to next message
Eclipse UserFriend
How to get rid of the messages
If like myself you are not using Git, but got stuck with it because it is a requirement by Eclipse then you can turn off these messages.
Go to Window->Preferences, now navigate to Team\Git\Confirmations and Warnings. In here you have the options "Log warnings". Turn both options off and that will stop EGit from complaining all the time.

Note that the error log is persistent so you will have to click the red X in order to clear it.

Now you will not see the warnings on start of your Eclipse. Although I would prefer to uninstall it altogether.
Re: EGit could not detect where Git is installed [message #1048478 is a reply to message #935034] Wed, 24 April 2013 10:23 Go to previous messageGo to next message
Eclipse UserFriend
(For those who also have Git (command-line) installed)

Had the same issue (Windows 7, Eclipse Juno, Egit).

Environment variable HOME is not set:
I used the commandline tool in windows (Run, "cmd", Enter):
setx HOME %USERPROFILE%

Restart Eclipse after you've set the HOME environment variable.

EGit could not detect where Git is installed:
I also have the command-line version of Git installed. Just find out where Git is installed (mine is installed under c:/Program (x86)/Git). Go to
Window->Preferences->Team->Git->Configuration->System Settings->Location
and browse for the Git installation directory.

Under
Window->Preferences->Team->Git->Configuration->User Settings
you can also add the following keys: "user.name" and "user.email".
Re: EGit could not detect where Git is installed [message #1602835 is a reply to message #1048478] Thu, 05 February 2015 16:04 Go to previous messageGo to next message
Eclipse UserFriend
Messages can not be turned off using the proposed settings.
Re: EGit could not detect where Git is installed [message #1766117 is a reply to message #1048478] Fri, 16 June 2017 02:03 Go to previous messageGo to next message
Eclipse UserFriend
Great! It works now. Thanks for your solution.
Re: EGit could not detect where Git is installed [message #1786969 is a reply to message #935150] Wed, 16 May 2018 12:18 Go to previous messageGo to next message
Eclipse UserFriend
Or scroll down and follow Thomas Berg's suggestions, which ("gasp!") actually help.
Re: EGit could not detect where Git is installed [message #1786970 is a reply to message #1602835] Wed, 16 May 2018 12:20 Go to previous messageGo to next message
Eclipse UserFriend
Works for me.
See Thomas Berg's suggestions. Set the HOME user environment variable in the Windows > System > user environment variables in Control Panel.
Re: EGit could not detect where Git is installed [message #1790376 is a reply to message #1048478] Fri, 08 June 2018 14:03 Go to previous messageGo to next message
Eclipse UserFriend
Re: Thomas Berg's excellent suggestions, is there a way to set the Git location other than in Preferences? In some "global" location that eGit would read so you don't have to (re)set this preference every time you open a new workspace.
Re: EGit could not detect where Git is installed [message #1790392 is a reply to message #1790376] Sat, 09 June 2018 03:42 Go to previous message
Eclipse UserFriend
If it's set as a preference, Oomph's preference recorder (which comes already installed in every package) could be used to set it for every new workspace.
Previous Topic:Eclipse no longer launches.
Next Topic:Won't download
Goto Forum:
  


Current Time: Wed Jul 23 09:35:26 EDT 2025

Powered by FUDForum. Page generated in 0.32806 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top