Changing a home environment variable in eclipse

I know this is a simple question, but I have never done this before if someone helps me set up a home environment for eclipse. The reason I am doing this is because I am trying to implement one of the maven projects, and I keep getting the same error, stating that I can not find the jar.

Here is the message:

The HOME environmental variable is not set. The following directory will be used to store the custom Git configuration and as the default repository location: S: /. If this is not the case, set the HOME environment variable and restart Eclipse.

+6
source share
2 answers

If it is on Windows, you can set environment variables, like here:

Win Pause / Break -> Advanced system Settings -> Environment Variables

+7
source

Setting up a home directory on Windows

Add the HOME environment variable to your environment variables.

  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. 

eg. C:\Users\Tom , where tom is% USERPROFILE%

Note. All letters are case sensitive, so c: \ users \ tom and C: \ Users \ Tom are completely different on Windows.

+4
source

Source: https://habr.com/ru/post/904245/


All Articles