Update CmdMain.java