在 Netbeans 6.9.1 中更改我的 Web 浏览器 [英] Changing my web browser in Netbeans 6.9.1

查看:37
本文介绍了在 Netbeans 6.9.1 中更改我的 Web 浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 Netbeans 6.9.1,我想将默认浏览器更改为 Chrome.我看到一个线程说 Netbeans 6.5,它可以从 Tools > 配置.选项 >一般 但问题是我在我的工具选项卡中找不到选项,因为我没有使用那个版本.有人知道如何使用 Netbeans 6.9.1 做到这一点吗?

I have Netbeans 6.9.1 and I want to change the default browser to Chrome. I have seen a thread that says for Netbeans 6.5, it can be configured from Tools > Options > General but the problem is I can't find Options in my Tools tab because I am not using that version. Anyone know how to do this with Netbeans 6.9.1?

推荐答案

在文件 C:Program FilesNetBeans 6.8etc etbeans.conf 中,在 >netbeans_default_options 属性:

In the file C:Program FilesNetBeans 6.8etc etbeans.conf, add the following line to the netbeans_default_options properties:

-J-Dorg.netbeans.modules.extbrowser.UseDesktopBrowse=true 

然后将 Chrome 设置为默认浏览器.

Then set Chrome as the default browser.

替代方法(在 Netbeans 7.1 中尝试过):

打开<代码>工具>选项,你应该看到这个:

Open Tools > Options and you should see this:

点击编辑按钮.然后点击添加按钮.将显示一个名为外部浏览器"的新浏览器.您可以将其重命名为 Chrome,然后将进程"字段更改为如下路径:

Click the edit button. Then click on the add button. A new browser named "External Browser" will be shown. You can rename it to Chrome, then change the "Process" field to a path like this:

C:Users{User}AppDataLocalGoogleChromeApplicationchrome.exe(在我的 Windows 7)

C:Users{User}AppDataLocalGoogleChromeApplicationchrome.exe (on my Windows 7)

在您的情况下,您可以右键单击 Chrome 图标并选择属性选项(窗口),然后查看目标路径在哪里.

In your case, you can right click on the Chrome icon and select the properties option (windows) and see where is the target path.

这篇关于在 Netbeans 6.9.1 中更改我的 Web 浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆