code: private void startJettyConsole(ClassLoader cl, String[] arguments, File tempDirectory) {
          try {
              Class starterClass = cl.loadClass("org.simplericity.jettyconsole.JettyConsoleStarter");
              starterClass.getField("jettyWorkDirectory").set(null, tempDirectory);
              Method main = starterClass.getMethod("main", arguments.getClass());
              main.invoke(null, new Object[] {arguments});
          } catch (ClassNotFoundException | InvocationTargetException | NoSuchMethodException | IllegalAccessException | NoSuchFieldException e) {
              throw new RuntimeException(e);
          }
      }
docs: Load {@link org.simplericity.jettyconsole.JettyConsoleStarter} and execute its main method.
  @param cl The class loader to use for loading {@link JettyConsoleStarter}
  @param arguments the arguments to pass to the main method