What command we have to execute (from Java, but that should not matter) on Linux (different common distributions) to open a given URL in the default browser?
In Java (version 6+), you can also do:
Desktop d = Desktop.getDesktop(); d.browse(uri);
Though this won't work on all Linuxes. At the time of writing, Gnome is supported, KDE isn't.