How can I open the default system browser from a java fx application?

Use hostServices.showDocument(location).

Try placing the following code in your application’s start method:

getHostServices().showDocument("http://www.yahoo.com");

Leave a Comment