MyEclipse10.7安装Aptana后重启:An internal error has occurred. No more handles [Could not detect registered XULRunner to use]

时间:2023-03-08 20:50:53

问题描述:

  当安装Aptana插件后重启MyEclipse10.7,发生错误:

  An internal error has occurred.

  No more handles [Could not detect registered XULRunner to use]

问题截图:

MyEclipse10.7安装Aptana后重启:An internal error has occurred. No more handles [Could not detect registered XULRunner to use]

问题解决:

  第一,下载xulrunner,下载地址:http://ftp.mozilla.org/pub/xulrunner/releases/1.8.0.1/win32/en-US/

  第二,在其所解压文件夹:D:\MyDev\xulrunner-1.8.0.1.en-US.win32\xulrunner中,Shift+右键->在此处打开命令窗口(M),执行命令:xulrunner.exe --register-global,表示为所有用户注册xulrunner

MyEclipse10.7安装Aptana后重启:An internal error has occurred. No more handles [Could not detect registered XULRunner to use]

  第三,为MyEclipse的myeclipse.ini文件的最后一行添加如下配置:

  -Dorg.eclipse.swt.browser.XULRunnerPath=D:/MyDev/xulrunner-1.8.0.1.en-US.win32/xulrunner

MyEclipse10.7安装Aptana后重启:An internal error has occurred. No more handles [Could not detect registered XULRunner to use]

  第四,重启MyEclipse,仍然发生本文开头的问题截图,并且同时有以下信息:

  aptana requires firefox 1.5+ for javascript debugging support.
  firefox could not be found at the default locations on this computer.
  if you wish to debug javascript, please create a debug configuration with the correct firefox path or download it from http://www.getfirefox.com/

  则表示插件没有在默认安装路径中找到本机的FireFox浏览器,需要点击Browse找到FireFox的firefox.exe,至此为该插件配置FireFox浏览器完毕

插件配置:

MyEclipse10.7安装Aptana后重启:An internal error has occurred. No more handles [Could not detect registered XULRunner to use]

MyEclipse10.7安装Aptana后重启:An internal error has occurred. No more handles [Could not detect registered XULRunner to use]

后续补充:

  当创建一个新的工作空间后,该错误依然出现:

  An internal error has occurred.

  No more handles [Could not detect registered XULRunner to use]

  同时,也提示在默认路径没找到FireFox.exe,于是Browse后指定即可,此时,错误仍然存在;于是更进一步,当取消勾选FireFox作为Aptana主页浏览器后,该错误就消失掉了

MyEclipse10.7安装Aptana后重启:An internal error has occurred. No more handles [Could not detect registered XULRunner to use]