code: public static void openBrowser(String url) {
          logger.debug("Launching browser at [" + url + "]");
  
          try {
              if (!openBrowserJava6(url)) {
                  final String[] command = getOpenBrowserCommand(url);
  
                  if (logger.isTraceEnabled()) {
                      logger.trace("Using command " + Arrays.asList(command));
                  }
                  Runtime.getRuntime().exec(command);
              }
          } catch (Exception e) {
              throw new IllegalStateException("Failed to open browser", e);
          }
      }
docs: Opens the specified <tt>url</tt> in the default browser.
  
  @param url the url to open