Function run

Source
pub fn run(parsed_args: &ParsedArguments, std_dir: &str) -> Result<(), Error>
Expand description

Launches the Rusty Java Virtual Machine with the given arguments.

This function initializes the JVM, loads the specified main class, and invokes its main method.

ยงArguments

  • parsed_args - The parsed command-line arguments, including the entry point class and program arguments.
  • std_dir - The path to the standard library directory containing core Java classes.