This may be useful..


import java.awt.Desktop;
import java.net.URI;

public class OpenBrowser {

public static void main(String[] args) throws Exception {
String url =...