日期:2014-05-16  浏览次数:20647 次

linux下使用myeclipse报错Could not detect registered XULRunner to use

在linux环境下装了myeclipse,开java是没有什么问题的,但是开jsp却会有个提示The Linux WYSIWYG design panel is still under development. To access an experimental version of this design panel restart with the commandline argument -Dlinux.experimental=true

要么忽略这个提示以后不再显示,但是每次开jsp都有报一次错询问是否退出wrokbench

我在myeclipse.ini里加了-Dlinux.experimental=true,jsp打不开了,提示Could not detect registered XULRunner to use

为了这个XULRunner折腾了好久,在网络上似乎有挺多解释是安装1.9的XULRunner就可以解决问题,可参考http://blog.csdn.net/jubincn/article/details/6212562

很不幸我折腾了好久都不行

eclipse编辑jsp的时候有个所见即所得的功能,下面是代码上面是页面预览,其实我一直觉得这个功能很鸡肋,而且每次打开jsp很卡我认为也是这个原因,而且上面的错误应该也是这个功能模块引起的,就想办法关掉这个功能,百般摸索终于找到方案,

window->preferences->general->editors->file associations找到htm,html,jsp,然后分别在下面找到Myeclipse html/htm/jsp Editor设置为default,我额外的把什么web browser也都删了,OK了以后重启myeclipse,没有问题了,开jsp也没有再卡了,在公司XP电脑上也这么操作,开jsp再也不用等半天了。