Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
576 views
in Technique[技术] by (71.8m points)

configuration - Changing my web browser in 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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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 

Then set Chrome as the default browser.


Alternative method (tried this with Netbeans 7.1):

Open Tools > Options and you should see this:

Netbeans Options Dialog

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 (on my Windows 7)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

56.8k users

...