title: Workaround for no default browser on Linux?
body: <p>I am trying to use <a href="http://java.sun.com/javase/6/docs/api/java/awt/Desktop.html" rel="nofollow noreferrer">Desktop</a>.browse() to invoke a URL, this works fine on Windows machines or on Linux machines with a default browser configured.  However, it throws an IOException exception when no default browser is found on Linux.  What are some of the ways to work around this?  I suppose I can attempt to launch Firefox and assume its there but I do not want to make that assumption.</p>