code: protected void launch(String[] args, String mainClass, ClassLoader classLoader)
              throws Exception {
          Runnable runner = createMainMethodRunner(mainClass, args, classLoader);
          Thread.currentThread().setContextClassLoader(classLoader);
          runner.run();
      }
docs: Launch the application given the archive file and a fully configured classloader.
  
  @param args        the incoming arguments
  @param mainClass   the main class to run
  @param classLoader the classloader
  @throws Exception if the launch fails