How can I set Chrome as default external browser in Eclipse for Mac?(如何在 Eclipse for Mac 中将 Chrome 设置为默认外部浏览器?)
问题描述
我认为这个问题不言自明:-)
I think that question is self-explained :-)
当我浏览到应用程序时,eclipse 向我发送一个错误.
When I browse to Application eclipse send me an error.
推荐答案
rubdottocom 几乎搞定了.问题是,路径包含空格.如果你写一个新的shell脚本,内容如下:
rubdottocom almost got it. The problem is, that the path contains spaces. If you write a new shell script with the following content:
'/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' $1
Eclipse 可以使用它启动一个新的 Chrome 实例.遗憾的是,这种方式无法在已运行的实例中打开新选项卡,因为脚本退出并显示以下错误消息:
Eclipse can launch a new Chrome instance with it. Sadly, this way it is not possible to open a new tab in an already running instance, as the script exits with the following error message:
[21043:2307:292361872340725:ERROR:process_singleton_mac.cc(102)]
Unable to obtain profile lock.
这篇关于如何在 Eclipse for Mac 中将 Chrome 设置为默认外部浏览器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在 Eclipse for Mac 中将 Chrome 设置为默认外部浏览器?


基础教程推荐
- 多个组件的复杂布局 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01
- 验证是否调用了所有 getter 方法 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- 从 python 访问 JVM 2022-01-01
- Java Swing计时器未清除 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- 大摇大摆的枚举 2022-01-01