| Errors on startup, just installed [message #929797] |
Mon, 01 October 2012 15:38  |
Devin Platt Messages: 4 Registered: October 2012 |
Junior Member |
|
|
I just installed Eclipse to use with a book about learning Java that I am reading. When I started the program two errors popped up. I tried reading the article about startup errors, but it was confusing. Also programs will not build.
The first error- 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.
[Updated on: Mon, 01 October 2012 15:40] Report message to a moderator
|
|
|
| Re: Errors on startup, just installed [message #931286 is a reply to message #929797] |
Wed, 03 October 2012 00:22   |
F H Messages: 1 Registered: October 2012 |
Junior Member |
|
|
Same here under Win7 64x.
Second message can be fixed by setting environment variable HOME to %USERPROFILE%.
First message surprises me. I have installed TortoiseGit and msysgit for Windows, but Error still remains.
Any suggestions?
Edit: Set manual path to msysgit under Team -> Git works. TortoiseGit uninstalled because not needed.
[Updated on: Wed, 03 October 2012 01:17] Report message to a moderator
|
|
|
|
|
| How to set the HOME variable [message #989505 is a reply to message #931917] |
Thu, 06 December 2012 09:32  |
Silvan Zuppiger Messages: 14 Registered: July 2012 |
Junior Member |
|
|
Add the environment variable HOME to your environment variables:
- In Windows 7, type "environment" at the start menu
- Select "Edit environment variables for your account"
- Click the "New" button.
- Enter "HOME" in the name field
- Enter "%USERPROFILE%" or some other path in the value field.
- Click OK, and OK again. You have just added the Home directory on Windows.
I found out these instructions at the EGit user guide.
Personally, I recommend to enter the complete path C:\Users\"my name" instead of %USERPROFILE%.
|
|
|
Powered by
FUDForum. Page generated in 0.01619 seconds