Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse: Choosing Run on Server doesn't launch Firefox, it launches Eclipse's internal browser

I am new to Eclipse and I have created a small web app and it works but when I do Run on Server (Tomcat) from Eclipse it launches the website in its own internal web browser.

I wondered if it was possible to have it launch Firefox for example?

Do I need to download Aptana?

like image 783
Martin Avatar asked Feb 09 '12 17:02

Martin


People also ask

How can you configure Eclipse to open a webpage in a browser outside of Eclipse?

The Internal Web Browser view allows you to surf the internet from within the Eclipse Workbench Window. To activate the Internal Web Browser view click on the Window and select Show View → Other. In the filter text box of the Show View dialog box enter browser . From the tree select Internal Web Browser and click OK.

How do I change my default browser in Eclipse?

Go to your eclipse Window -> Preferences -> General -> Web Browser and you can select your default Web Browser here and if you want to add some other web browser then click on New button and put and and then click on OK and then after your can see your newly added browser in "External web browser" section.

What is run on server in eclipse?

The Run on Server menu item appears on all objects that are accepted by at least one moduleArtifactAdapters expression. Once the Run on Server menu item is selected, the selected object is adapted to IModuleArtifact.


2 Answers

I would just enter the URL in your preferred browser, and bookmark it. As simple as that. You'll have to do it with different browsers anyway if you want to test the app on multiple browsers.

You can also choose which browser is used by going to Window - Preferences - General - Web Browser.

like image 50
JB Nizet Avatar answered Sep 20 '22 05:09

JB Nizet


yes if u want your application to get started on firefox ..Go to window tab at the top of your eclipse IDE from there preferences and the go to general from there select browsers

check radio button of use external web browser and select the browser u want firefox or IE..

like image 27
palak gautam Avatar answered Sep 20 '22 05:09

palak gautam