Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Required packages on linux for full SWT funtionality
Required packages on linux for full SWT funtionality [message #465700] Mon, 19 December 2005 23:09 Go to next message
David C. La Gamba is currently offline David C. La GambaFriend
Messages: 1
Registered: July 2009
Junior Member
Hello,
I was wondering if anyone knew what packages are required on linux so that
the complete eclipse/swt funtionality is present?

I have the following section of code:

IWorkbenchBrowserSupport browserSupport =
this.getWorkbench().getBrowserSupport();
IWebBrowser browser = browserSupport.getExternalBrowser();
URL myURL = new URL(url);
browser.openURL(myURL);

This works fine on a complete install of RHEL 4 update 2, but when the
default
packages are installed, the above section of code pops up a dialog stating
that
"Unable to open web browser on {0}".

Any help would be appreciated.

Regards,
David C. La Gamba
Re: Required packages on linux for full SWT funtionality [message #465783 is a reply to message #465700] Tue, 20 December 2005 13:35 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
See:

http://eclipse.org/swt/faq.php#browserlinux

"David C. La Gamba" <dlagamba@ca.ibm.com> wrote in message
news:c1736f7fc52781d3fe4b6bc763d04f5c$1@www.eclipse.org...
> Hello,
> I was wondering if anyone knew what packages are required on linux so that
> the complete eclipse/swt funtionality is present?
>
> I have the following section of code:
>
> IWorkbenchBrowserSupport browserSupport =
> this.getWorkbench().getBrowserSupport(); IWebBrowser browser =
> browserSupport.getExternalBrowser();
> URL myURL = new URL(url);
> browser.openURL(myURL);
>
> This works fine on a complete install of RHEL 4 update 2, but when the
> default
> packages are installed, the above section of code pops up a dialog stating
> that
> "Unable to open web browser on {0}".
>
> Any help would be appreciated.
>
> Regards,
> David C. La Gamba
>
>
Re: Required packages on linux for full SWT funtionality [message #465802 is a reply to message #465700] Tue, 20 December 2005 16:54 Go to previous message
Billy Biggs is currently offline Billy BiggsFriend
Messages: 94
Registered: July 2009
Member
David C. La Gamba wrote:
> I was wondering if anyone knew what packages are required on linux so that
> the complete eclipse/swt funtionality is present?
>
> I have the following section of code:
>
> IWorkbenchBrowserSupport browserSupport =
> this.getWorkbench().getBrowserSupport(); IWebBrowser browser =
> browserSupport.getExternalBrowser();
> URL myURL = new URL(url);
> browser.openURL(myURL);
>
> This works fine on a complete install of RHEL 4 update 2, but when the
> default
> packages are installed, the above section of code pops up a dialog
> stating that
> "Unable to open web browser on {0}".
>
> Any help would be appreciated.

The browser support in SWT was compiled using gcc3, while RHEL 4 is
built using gcc4. To have a working browser on RHEL 4, you will need
the libstdc++ compatibility packages. I believe the package is called:

compat-libstdc++-33

We are currently investigating compiling the mozilla support using
both gcc3 and gcc4, and attempting to load both. This should allow us
to run on a default install of RHEL 4. See:

http://bugs.eclipse.org/bugs/show_bug.cgi?id=113559

-Billy
Previous Topic:SWT widget of file import wizard
Next Topic:SWT Printing with Windows to a Tray
Goto Forum:
  


Current Time: Wed Sep 19 03:05:29 GMT 2018

Powered by FUDForum. Page generated in 0.06691 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top