Eclipse Helios 中的 Colorer 插件
我一直无法获得精彩的 Eclipse Colorer 插件来与我当前的 Eclipse 副本(Helios 64 位)配合使用。它安装正常,但每当我尝试打开源文件时,我都会收到此错误:
Colorer 库的本机部分初始化时出错。这可能是由于 java 机器的路径中缺少 net_sf_colorer.dll (libnet_sf_colorer.so) 库造成的。或者,colorer 找不到catalog.xml 文件,该文件必须放置在“%PLUGIN_DIR%”/colorer/catalog.xml 中 无法初始化类 net.sf.colorer.ParserFactory
I've been unable to get the wonderful Eclipse Colorer plugin to work with my current copy of Eclipse (Helios 64 bit). It installs ok but whenever I attempt to open a source file I get this error:
Error in initialization of native part of the Colorer library. This can be caused by absent net_sf_colorer.dll (libnet_sf_colorer.so) library in paths of java machine. Or, colorer can't find catalog.xml file, which must be placed in '%PLUGIN_DIR%'/colorer/catalog.xml'
Could not initialize class net.sf.colorer.ParserFactory
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
与Eclipse版本无关。尝试 32 位版本,据我所知 Eclipse Colorer 不支持 64 位。
It has nothing to do with the version of Eclipse. Try a 32-bit Version, AFAIK Eclipse Colorer has no support for 64-bit.
实际上,我通过编译我自己的 Colorer 版本成功地使其在 64 位 eclipse (indigo) 上运行。一旦你知道这很简单:首先你获得 svn 版本:
然后你必须在你的 eclipse 插件中创建一个新的 x86_64 目录,并将 lib 复制到那里。就我而言,是:
I actually managed to make it run on a 64bit eclipse (indigo) by compiling my own version of Colorer. Once you know it's pretty easy: first you get the svn version:
Then you must create a new x86_64 directory in your eclipse plugin, and copy the lib there. In my case it was: