Package cs1302.tracer

Class App

java.lang.Object
cs1302.tracer.App

@API(status=STABLE, since="4.0.0") public final class App extends Object
Stable command-line launcher; embedding applications use Tracer.
  • Method Details

    • execute

      public static int execute(String[] args)
      Executes a CLI invocation without terminating the calling JVM. The environment-selected Java and compiler must be matching stable JDK 21 or later tools, and the selected JDK must be the running JVM. Environment failures return 1 with stderr diagnostics, including for help and version requests. Embedding callers use Tracer.
      Parameters:
      args - Command-line arguments.
      Returns:
      Process exit status.
    • main

      public static void main(String[] args) throws Exception
      Executes the command line and terminates the JVM with the resulting exit status.
      Parameters:
      args - Command-line arguments.
      Throws:
      Exception - If command-line startup fails.