java.lang.Object
cs1302.tracer.App
Stable command-line launcher; embedding applications use
Tracer.-
Method Summary
-
Method Details
-
execute
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 useTracer.- Parameters:
args- Command-line arguments.- Returns:
- Process exit status.
-
main
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.
-