Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change settings in Netbeans 6.5 to run web application in not default browser?

I use Firefox as default browser in my computer.

I need to develop the web application(JSP) project in Netbeans 6.5 and everytime I run the project, it run in Firefox.

I want to run my web application in IE for testing but not change my default web browser.

like image 750
teerapap Avatar asked May 13 '09 04:05

teerapap


People also ask

How to register a server in NetBeans?

In order to run the Web application from NetBeans IDE you need to select the server in the “Server and Settings” section while creating a new web application project. By default, no servers are registered first time when we install and use NetBeans IDE. We need to add a server first and then register in the IDE.


2 Answers

I just discovered something that isn't mentioned here and I though I would share. My NetBeans configuration (Tools >> Options >> General) showed my browser as "Default System Browser" and it seems that it did not pick up Chrome as my default browser. Needless to say when xdebug was called it did not know which browser to open. I changed it to my only other option which was Internet Explorer and voila! Just the basic configuration of downloading the correct xdebug file and setting the path and the other 4 common options in the "correct" php.ini. There is an option to edit the list to include other browsers as well, but only one at a time.

My system is windows 7, xampp and the latest version of netbeans and xdebug as of december 2011. This flags will also help other users with a similar config find this post. I hope it helps.

like image 65
G37Dude Avatar answered Feb 07 '23 02:02

G37Dude


In Netbeans 6.5 under Tools->Options->General there's an option on top called Web Browser. Did you try to change that? Doesn't that work for you?

[Edit]: Maybe you have to make changes that way

like image 27
Xn0vv3r Avatar answered Feb 07 '23 03:02

Xn0vv3r