Sample Java console app