Changing my web browser in Netbeans 6.9.1
Asked Answered
G

3

14

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?

Glary answered 4/5, 2012 at 10:23 Comment(0)
G
23

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 

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}\AppData\Local\Google\Chrome\Application\chrome.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.

Grower answered 4/5, 2012 at 10:30 Comment(1)
Yes, i've just tried and was successful. I expanded my answer aboveGrower
S
4

In case someone came across the same problem for Netbeans 8.2: it is under

Run> Set Project Browser > Chrome

enter image description here

(You can choose other browsers of course!)

Sustenance answered 27/3, 2018 at 1:21 Comment(0)
M
0

nope cannot change this....the edit menu for a custom browser does not respond...u have to create a custom firefox.exe thats starts up the required browser.exe.

Mihrab answered 7/3, 2023 at 15:41 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.