Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Application not found
Application not found [message #448291] Thu, 20 April 2006 11:48 Go to next message
Eclipse UserFriend
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 [message #448304 is a reply to message #448291] Thu, 20 April 2006 16:20 Go to previous message
Eclipse UserFriend
You have Moz setup as your default Eclipse browser and it can't find it.

"Benjamin" <benny@databaserepublic.com> wrote in message
news:e28ahc$aks$1@utils.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:Window -> Open Perspective & Show View
Next Topic:EOFException during automated build
Goto Forum:
  


Current Time: Sun Jul 06 14:07:34 EDT 2025

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

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

Back to the top