现在的位置: 首页 > 综合 > 正文

打开sts出现如下提示 the environment variable home is not set

2018年04月18日 ⁄ 综合 ⁄ 共 534字 ⁄ 字号 评论关闭

Click start button.

  1. Right click "Computer"
  2. Click "Properties"
  3. Click "Advanced System Settings"
  4. "Environment variables" in "Advanced" tab.
  5. Click the "New" button to create a new variable under user variables pane.
  6. Enter "HOME" in the name field
  7. Enter "%USERPROFILE%" or some other path in the value field. (HOME should point to your home directory e.g. C:\Users\Tom. Ensure correct case! E.g. C:\users instead of C:\Users may cause problems!)
  8. Click OK, and OK again. You have just added the Home directory on Windows.

参考链接自

http://stackoverflow.com/questions/6989847/change-user-locationhome-variable-in-egit-eclipse

抱歉!评论已关闭.