Well, the title says it I guess.
When trying to launch the default browser by using the Desktop’s browse() function, the browser does open but points to the wrong URI beeing %u
I can’t narrow it down to the code, as I haven’t changed it.
What I did change was the OS now beeing Ubuntu 11.10 instead of 11.04
And I installed Java 7, but keep using Java 6.
Where does it go wrong? Any Clues?
I know I’m late to the game but I had the same problem, too. Thanks to all the good hints in this question and the comments above I found a config key in gconf-editor:
/desktop/gnome/url-handlers/http/command (and similar)
The command that I found in this key was “firefox %u”. Unfortunately, the key was not really documented very well but I noticed that other keys in that area used “%s” for the parameter. So I tried and replaced “%u” by “%s” and – yay! – the darn thing works again.
I’d also like to use this opportunity to thank the guys at Canonical for messing up Unity so thoroughly.