Using Firefox in Eclipse instead of IE(在 Eclipse 中使用 Firefox 而不是 IE)
问题描述
在 Eclipse 中,是否可以使用 Firefox 作为 Eclipse 的内部 Web 浏览器而不是 Internet Explorer.
In Eclipse, is it possible to use Firefox as Eclipse's internal Web browser instead of Internet Explorer.
我是一名在 Windows 中使用 Eclipse 的 Web 开发人员.
I am a Web developer using Eclipse in Windows.
谢谢!
推荐答案
内部 Web 浏览器使用的 SWT Browser 小部件为其 Web 渲染技术选择平台默认值.所以对于 Windows 来说就是 MSHTML COM 组件(IE 渲染器).对于 Linux 是 Mozilla(Webkit for 3.7 可用)和 Mac,WebKit(Safari).但是,有像 MyEclipse 这样的第三方插件确实嵌入了 mozilla 运行时 (XULRunner),它们确实使用 Mozilla (Gecko) 渲染器作为浏览器.
因此,要回答您的问题,无法在 Windows 上使用 Firefox 作为内部 Web 浏览器,但是,您可以为 Eclipse(MyEclipse、JBoss 工具等)安装嵌入 Xulrunner 二进制文件的 3rd-party 插件,这些插件将允许嵌入 mozilla 渲染器作为内部 Eclipse 浏览器使用的技术.请注意,这可能需要使用第 3 方 Web 浏览器小部件而不是标准 Eclipse 平台小部件,但那些第 3 方工具通常提供工具栏操作等.
The SWT Browser widget that is uesd by the internal web browser chooses the platform default for its web rendering technology. So for Windows that is the MSHTML COM component (IE renderer). For Linux that is Mozilla (Webkit for 3.7 is available) and on Mac, WebKit(Safari). However, there are third party plugins like MyEclipse that do embed a mozilla runtime (XULRunner) that do use the Mozilla (Gecko) renderer for a browser.
So to answer your question there is no way to use Firefox as internal web browser on windows, however, you can install 3rd-party plugins for Eclipse (MyEclipse, JBoss tools, etc) that embed Xulrunner binaries that will allow for embedding mozilla renderer as the technology used by an internal Eclipse browser. Note, this may require that use the 3rd-party web browser widget instead of the standard eclipse platform one, but those 3rd party tools usually provide a toolbar action, etc.
这篇关于在 Eclipse 中使用 Firefox 而不是 IE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 Eclipse 中使用 Firefox 而不是 IE


- 将log4j 1.2配置转换为log4j 2配置 2022-01-01
- 如何使用WebFilter实现授权头检查 2022-01-01
- 从 finally 块返回时 Java 的奇怪行为 2022-01-01
- C++ 和 Java 进程之间的共享内存 2022-01-01
- Spring Boot连接到使用仲裁器运行的MongoDB副本集 2022-01-01
- Java包名称中单词分隔符的约定是什么? 2022-01-01
- Safepoint+stats 日志,输出 JDK12 中没有 vmop 操作 2022-01-01
- Jersey REST 客户端:发布多部分数据 2022-01-01
- Eclipse 插件更新错误日志在哪里? 2022-01-01
- value & 是什么意思?0xff 在 Java 中做什么? 2022-01-01