6

I've installed Eclipse (Juno) on Ubuntu Precise and am unable to use Eclipse's internal web browser. I'm getting this error:

SWT Browser control is not available

I've searched around and haven't found a solution that works.

Thanks for your help!

Mike

MikeP
  • 195
  • 2
  • 8

2 Answers2

8

I did find a solution which worked:

sudo apt-get install libwebkitgtk-1.0-0

I'm not sure why, though.

Mike

MikeP
  • 195
  • 2
  • 8
  • Thanks for the straight forward solution. Looks like eclipse runs internal browser on webkitgtk, which is nice. Tested on a headless ubuntu. – echedey lorenzo Nov 24 '12 at 15:39
3

Under Linux, the SWT browser widget can either use Mozilla XULRunner or Webkit 1. I have had version conflicts between the web browser included in a Linux distro, XULRunner and what's accepted by SWT. Using Webkit seems an easier approach. If you have both XULRunner and Webkit installed, see 2 to select a specific toolkit.

Kay
  • 527
  • 2
  • 8