Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Need to open browser externally.. getting error
Need to open browser externally.. getting error [message #1223451] Mon, 23 December 2013 12:28
no name no name is currently offline no name no nameFriend
Messages: 28
Registered: February 2012
Junior Member
Hi All,

I have one html file present in my system and I am trying to Open browser in eclipse externally using below code
String URLToOpenOuterFrame = homepage.htm;
PlatformUI.getWorkbench().getBrowserSupport().getExternalBrowser().openURL(new URL("http://"+URLToOpenOuterFrame));

But getting following exception: For input string: "homepage.htm"
at<init>(Unknown Source)
at<init>(Unknown Source)
at<init>(Unknown Source)

Any help would really appreciate
Thanks Smile

Previous Topic:Plugin not available in marketplace search within eclipse
Next Topic:open one browser and one editor in same eclipse workbench
Goto Forum:

Current Time: Tue May 22 23:35:58 GMT 2018

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

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

Back to the top