[EAP 606] Help in firefox
-
- Posts: 21
- Joined: Tue May 17, 2005 1:38 pm
[EAP 606] Help in firefox
When I select Help->YourKit Java Profiler Help I get an alert in firefox saying "d is not a registered protocol". After a bit of testing I think the problem is that you are sending the file path to the browser instead of a url.
If for instance I type "d:/somefile.html" into the url box of firefox, I get the protocol error dialog. If I type the real url for this ("file:///d:/somefile.html") everything works fine. The file path thing works fine in IE, but not in firefox (and probably mozilla, maybe others).
If for instance I type "d:/somefile.html" into the url box of firefox, I get the protocol error dialog. If I type the real url for this ("file:///d:/somefile.html") everything works fine. The file path thing works fine in IE, but not in firefox (and probably mozilla, maybe others).
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
-
- Posts: 21
- Joined: Tue May 17, 2005 1:38 pm
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Please try set FF as a default browser and use the following command from console:
I suppose that you''ll get an error
Code: Select all
rundll32 url.dll,FileProtocolHandler file:///D:/java/YourKit Java Profiler 4.5 EAP build 606/docs/help/index.html
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Could you please try whether syntax with // instead of /// works for you:
Code: Select all
rundll32 url.dll,FileProtocolHandler file://D:/java/YourKit Java Profiler 4.5 EAP build 606/docs/help/index.html
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Or does
work?
Code: Select all
rundll32 url.dll,FileProtocolHandler D:/java/YourKit Java Profiler 4.5 EAP build 606/docs/help/index.html
-
- Posts: 21
- Joined: Tue May 17, 2005 1:38 pm
Both give that same error.
In the mean time I found the following comment at http://ostermiller.org/utils/Browser.html:
In the mean time I found the following comment at http://ostermiller.org/utils/Browser.html:
Unfortunately the code is GPL so it's probably of no use for you guys.Windows - Opens the url in the system browser by calling a url.dll that can open the url using FileProtocolHandler. This dll fails to open file urls with spaces. In that case, a url shortcut is written to the hard drive, and the shortcut is then opened.
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Thank you for the link.
It is said something is wrong with spaces in path, but are no problems with spaces in file path for me. Also you say you have no problems running IE. So I suppose there's something incorrect in NT behaviour (I use WinXP).
Could you please try to install the profiler into directory without spaces, to see if it makes any difference.
It is said something is wrong with spaces in path, but are no problems with spaces in file path for me. Also you say you have no problems running IE. So I suppose there's something incorrect in NT behaviour (I use WinXP).
Could you please try to install the profiler into directory without spaces, to see if it makes any difference.