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

查看:118
本文介绍了在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中:\在程序文件 NetBeans 6.8 etc netbeans.conf 中,将以下行添加到 netbeans_default_options 属性中:

In the file C:\Program Files\NetBeans 6.8\etc\netbeans.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\ {用户} \AppData\Local\Google\Chrome\Application\chrome.exe(在Windows 7的
上)

C:\Users\{User}\AppData\Local\Google\Chrome\Application\chrome.exe (on my Windows 7)

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

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天全站免登陆