code: protected void browseOnDesktopIfNeeds(final URI uri) {
          if (!browseOnDesktop) {
              return;
          }
          final java.awt.Desktop desktop = java.awt.Desktop.getDesktop();
          try {
              desktop.browse(uri);
          } catch (IOException e) {
              throw new IllegalStateException("Failed to browse the URI: " + uri, e);
          }
      }
docs: ------