问题
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
回答1:
I did find a solution which worked:
sudo apt-get install libwebkitgtk-1.0-0
I'm not sure why, though.
Mike
回答2:
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.
来源:https://stackoverflow.com/questions/11354115/eclipse-juno-internal-web-browser-unavailable-ubuntu