Package core

Class Main

java.lang.Object
core.Main

public class Main extends Object
Entry point for the Java Shell application. Initializes core components and starts the shell loop.
  • Constructor Details

    • Main

      public Main()
      Constructs a new Main instance. Entry point class for the Java POSIX Shell application.
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      The entry point of the Java POSIX Shell application. Initializes the command handler, built-in commands, and shell input handler, then starts the interactive shell loop.
      Parameters:
      args - Command-line arguments (not used).
      Throws:
      Exception - if an error occurs during shell initialization or execution.