Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » application not found when trying to open an external browser
application not found when trying to open an external browser [message #448127] Tue, 18 April 2006 18:15 Go to next message
Benjamin is currently offline BenjaminFriend
Messages: 21
Registered: July 2009
Junior Member
Hello,
I have the following code:

[code]
url = new URL("http://www.yahoo.com");
String myId = "eclipse.pdtf.example";
IWorkbenchBrowserSupport browserSupport =
PlatformUI.getWorkbench().getBrowserSupport();
try {
IWebBrowser browser = browserSupport.createBrowser(myId);
browser.openURL(url);
} catch (Exception e) {
// TODO Auto-generated catch block
System.out.println(e.getMessage()); e.printStackTrace();
}
[code]

when I ran it I get a message box saying '... application not found'
when I ran it the first time it worked, but opened my 'mozilla' browser.
After I uninstalled the browser I get this message.

Any thoughts?
Thank you,
Ben
Re: application not found when trying to open an external browser [message #448220 is a reply to message #448127] Wed, 19 April 2006 11:29 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Are you saying it used to work, and then you uninstalled the browser and
now it doesn't work?

PW


Re: application not found when trying to open an external browser [message #448277 is a reply to message #448127] Thu, 20 April 2006 11:12 Go to previous message
Benjamin is currently offline BenjaminFriend
Messages: 21
Registered: July 2009
Junior Member
Hello ,
yes the first time it worked, but it opened a mozilla browser, I uninstalled
mozilla because I wanted the application to open explorer browser, but it
didn't work I get a message box saying 'application not found'. Probably it
is something with the registry, I guess mozilla has a bug in their uninstall
and eclipse has just a bad error reporting message, there was no exception
just a message box pop up which is also something a bit strange.

Thank you,
Benjamin
----- Original Message -----
From: "Paul Webster" <pwebster@ca.ibm.com>
Newsgroups: eclipse.platform.rcp
Sent: Wednesday, April 19, 2006 4:29 AM
Subject: Re: application not found when trying to open an external browser


> Are you saying it used to work, and then you uninstalled the browser and
> now it doesn't work?
>
> PW

"Benjamin" <benny@databaserepublic.com> wrote in message
news:c052f4347686ac4137374a5233eb9391$1@www.eclipse.org...
> Hello,
> I have the following code:
>
> [code]
> url = new URL("http://www.yahoo.com");
> String myId = "eclipse.pdtf.example";
> IWorkbenchBrowserSupport browserSupport =
> PlatformUI.getWorkbench().getBrowserSupport();
> try {
> IWebBrowser browser = browserSupport.createBrowser(myId);
> browser.openURL(url);
> } catch (Exception e) {
> // TODO Auto-generated catch block
> System.out.println(e.getMessage()); e.printStackTrace();
> }
> [code]
>
> when I ran it I get a message box saying '... application not found' when
> I ran it the first time it worked, but opened my 'mozilla' browser. After
> I uninstalled the browser I get this message.
>
> Any thoughts?
> Thank you,
> Ben
>
Previous Topic:Itro in eclipse 3.2 rc1
Next Topic:Enable Toolbar Cut Copy Paste Operations for a simple text field
Goto Forum:
  


Current Time: Sat Dec 07 18:08:27 GMT 2024

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

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

Back to the top