[EAP 606] Help in firefox

Questions about YourKit Java Profiler
pepijnve
Posts: 21
Joined: Tue May 17, 2005 1:38 pm

Post by pepijnve »

The JDIC project has a class Destop that contains a browse method. This opens a URL in the system default browser. I gave it a try with the following code:

Code: Select all

File file = new File("D:/java/YourKit Java Profiler 4.5 EAP build 606/docs/help/index.html");
URL url = file.toURI().toURL();
Desktop.browse(url);
And this works perfectly on my machine. Might be useful since this code is LGPL licensed.
Vladimir Kondratyev
Posts: 1626
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

Thank you very much for pointing to solution. We'll try to integrate it into profiler.

Regards,
Vladimir
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Post by Anton Katilin »

Hi,

I have found in some forum the following note: "Launching the browser by the url.dll does not work if Active Desktop is installed on Windows NT"

Just curious, is this the case? Do you have Active Desktop on your NT?

Best regards,
Anton
pepijnve
Posts: 21
Joined: Tue May 17, 2005 1:38 pm

Post by pepijnve »

Not that I can tell. I'm not the admin of this machine, so I don't know for sure. I can't put jpgs on my desktop so I'm guessing it's not installed :D
Post Reply