【发布时间】:2013-05-30 15:39:59
【问题描述】:
当我使用 RCP 应用程序打开外部浏览器时:
PlatformUI.getWorkbench().getBrowserSupport().getExternalBrowser().openURL(url)
它在 Linux (Ubuntu) 上打开 firefox 而不是系统默认浏览器 (chrome)。我的默认浏览器通过 update-alternatives 正确设置,Eclipse 中的链接实际上在 Chrome 中打开。 text/html 的 mime 类型也设置为 chrome。
【问题讨论】: