Mercurial Eclipse错误 [英] Mercurial Eclipse Error
问题描述
但是,尽管我已经重新安装了很多次,但它给出了相同的错误,我把屏幕截图放在下面。
检查编码(cp1254)...
检查扩展名...
检查模板...
检查修补程序
检查提交编辑器。
在PATH
(在配置文件中指定提交编辑器)找不到编辑器'notepad'
检查用户名...
检测到1个问题,请检查您的安装!。命令行:hg -y debuginstall
我不知道如何处理这个。任何帮助将不胜感激,谢谢。
(注:类似于 bug 13505 )
Eclipse继承了您的当前会话。
打开一个DOS会话,并检查该会话是否在其路径中具有 notepad
(应该考虑记事本在 C:\Windows\system32\\\
)。确保C:\Windows\system32(或
otepad.exe %SystemRoot%\system32
)在您的 PATH
(在具有其他路径的空格或特殊字符的副作用的情况下)
如果路径正确,则从该命令行DOS窗口启动eclipse,并查看问题
OP emre 报告其%PATH%
为:
C :\Program Files\NVIDIA Corporation\PhysX\Common;
C:\Program Files\Java\jdk1.6.0_20\bin;
D:\eclipse-java-helios-sr1-win32\eclipse\android-2.2_r0-windows\android-2.2_r0-windows\tools;
C:\Program Files\Java\jdk1.6.0_20\bin
换句话说,没有%SystemRoot%\system32
。
你需要编辑系统变量
在 环境变量
Windows的设置,并添加到 PATH
变量中的第一个位置:
%SystemRoot%\system32
然后你可以打开一个新的DOS会话,从那里启动eclipse,并且应该正常运行。
I am trying to use mercurial in eclipse. I downloaded mercurial eclipse plugin for this.
But, despite I had reinstalled it many times, it gives the same error, I put the screenshot below.
Checking encoding (cp1254)...
Checking extensions...
Checking templates...
Checking patch...
Checking commit editor...
Can't find editor 'notepad' in PATH
(specify a commit editor in your configuration file)
Checking username...
1 problems detected, please check your install!. Command line: hg -y debuginstall
I do not know how to handle this. Any help will be appreciated very much, thank you.
(Note: similar to bug 13505 in Mercurial Eclipse project)
The Eclipse inherits the path from your current session.
Open a DOS session, and check if said session does have notepad
in its path (which it should considering notepad is in C:\Windows\system32\notepad.exe
). Make sure C:\Windows\system32 (or %SystemRoot%\system32
) is in first position in your PATH
(in case of side effect with other paths with spaces or special characters in it).
If the path is correct, then launch the eclipse from that command-line DOS windows, and see if the problem persists.
The OP emre reports its %PATH%
being:
C:\Program Files\NVIDIA Corporation\PhysX\Common;
C:\Program Files\Java\jdk1.6.0_20\bin;
D:\eclipse-java-helios-sr1-win32\eclipse\android-2.2_r0-windows\android-2.2_r0-windows\tools;
C:\Program Files\Java\jdk1.6.0_20\bin
In other word, no %SystemRoot%\system32
.
You need to edit the System variables
in the Environment variable
settings of Windows, and add in the first place in the PATH
variable:
%SystemRoot%\system32
Then you can open a new DOS session, launch eclipse from there and ot should work fine.
这篇关于Mercurial Eclipse错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!