public static void main(final String args[]) {
        int exitCode = 1;
        final Setup setup = new Setup();
        try {
            setup.execute(args);
            exitCode = 0;
        } catch (Throwable exc) {
            System.err.println("ERROR: " + exc.getMessage());
        }
        System.exit(exitCode);
    }
public static void main ( final String args [ ] ) { int exitCode = 1 ; final Setup setup = new Setup ( ) ; try { setup . execute ( args ) ; exitCode = 0 ; } catch ( Throwable exc ) { System . err . println ( "ERROR: " + exc . getMessage ( ) ) ; } System . exit ( exitCode ) ; }
called from setup shell/bat script. Calls the {@link #execute} method.
@param args args