title: How can I open the default system browser from a java fx application?
body: <p>I'm trying to open a web url in the default system browser from javafx. I didn't find any official documentation regard this. Any clue?</p>
  
  <p>EDIT:
  I've found <a href="http://blog.ngopal.com.np/2011/02/09/open-default-browser-in-javafx/" rel="noreferrer">a tutorial</a> but it doesn't work.
  I'm using MacOsX and I tried launching </p>
  
  <pre><code>java.awt.Desktop.getDesktop().browse(new URI(url));
  </code></pre>
  
  <p>but I get an <code>HeadlessExcelption</code></p>