And why are you trying to run the program using console. Do you have the Editor?