30

Eclipse has a web browser, but I don't know any straightforward way to open it. I know that if you go to the Eclipse market place and ask for more results it'll open, and if you make the browser open your html you can open it, but is there a more straightforward way to open it? (For example, a button or menu option that says browser?)

5 Answers 5

28

The Web and Java EE perspective will reveal a button on the toolbar to open a new web browser.

Also, from Window > Show View you find the Internal Web browser view.

The former acts as an editor tab, the later not.

23

Right click a file in left Project Navigator, and in the pop up context menu, chse Open with ..., and then you can find it in sub menu.

Actually, I don't like to use it.

2
  • 30
    It's also listed in Window>Show View>Other.... It's called the Internal Web Browser. Dec 16, 2011 at 13:23
  • 2
    Hi! Any idea how to do it programmatically? That is, let's say if I've a html that is generated by my java project, how can automate the opening of browser and showing his html on it? Thanks. Jul 4, 2013 at 6:16
4

You can add the button and menu option to launch the Internal Web Browser to any perspective. Right click on the toolbar and select "Customize Perspective...". Then click the Command Groups Availability tab and check the Web Browser command group in the list on the left to make it available.

1
  • 1
    seems it's by now been removed from there or just not available in some perspectives...
    – matanster
    Feb 11, 2015 at 12:43
2

For Eclipse 4.6.3,

select Window > Preferences > (in the left pane)select )"General" tab and 'Web Browser'

// See figure below;

enter image description here

0

Eclipse Version: 2020-06 (4.16.0)

You can follow these steps in Eclipse.

Windows => Show View => Other => Internet Web Browser

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.